• R/O
  • HTTP
  • SSH
  • HTTPS

hengbandosx: Commit

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.


Commit MetaInfo

Revisão17379cc4f330d28fb02b343c9facd04058699fb5 (tree)
Hora2022-05-08 19:13:59
AutorDeskull <61610939+sikabane-works@user...>
CommiterGitHub

Mensagem de Log

Merge pull request #2505 from sikabane-works/fix/restore-monster-num

[Fix] モンスターの復元数変数が初期化されていなかった不具合を修正。

Mudança Sumário

Diff

--- a/src/wizard/wizard-game-modifier.cpp
+++ b/src/wizard/wizard-game-modifier.cpp
@@ -153,7 +153,7 @@ void wiz_complete_quest(PlayerType *player_ptr)
153153 void wiz_restore_monster_max_num(MonsterRaceId r_idx)
154154 {
155155 if (!MonsterRace(r_idx).is_valid()) {
156- int val;
156+ int val = 1;
157157 if (!get_value("MonsterID", 1, r_info.size() - 1, &val)) {
158158 return;
159159 }
Show on old repository browser