OSDN Git Service

[Refactor] #38997 heroism() に player_type * 引数を追加. / Add player_type * argument to...
[hengbandforosx/hengbandosx.git] / src / realm-daemon.c
index 6327730..bf7d625 100644 (file)
@@ -468,7 +468,7 @@ concptr do_daemon_spell(player_type *caster_ptr, SPELL_IDX spell, BIT_FLAGS mode
                {
                        int base = 25;
                        if (info) return info_duration(base, base);
-                       if (cast)heroism(base);
+                       if (cast)heroism(p_ptr, base);
                }
                break;