The master and develop branches track hengband.
OS X development happens on the macos-1-6-2, macos-2-2-1, and macos-develop branches.
Revisão | 17379cc4f330d28fb02b343c9facd04058699fb5 (tree) |
---|---|
Hora | 2022-05-08 19:13:59 |
Autor | Deskull <61610939+sikabane-works@user...> |
Commiter | GitHub |
Merge pull request #2505 from sikabane-works/fix/restore-monster-num
[Fix] モンスターの復元数変数が初期化されていなかった不具合を修正。
@@ -153,7 +153,7 @@ void wiz_complete_quest(PlayerType *player_ptr) | ||
153 | 153 | void wiz_restore_monster_max_num(MonsterRaceId r_idx) |
154 | 154 | { |
155 | 155 | if (!MonsterRace(r_idx).is_valid()) { |
156 | - int val; | |
156 | + int val = 1; | |
157 | 157 | if (!get_value("MonsterID", 1, r_info.size() - 1, &val)) { |
158 | 158 | return; |
159 | 159 | } |