OSDN Git Service

[Refactor] #39963 Separated effect-characteristics.h from floor.h
[hengband/hengband.git] / src / trap.c
index b8574bf..4d9a4b6 100644 (file)
@@ -1,5 +1,6 @@
 #include "angband.h"
 #include "util.h"
+#include "main/sound-definitions-table.h"
 
 #include "io/write-diary.h"
 #include "cmd/cmd-dump.h"
 #include "feature.h"
 #include "player-status.h"
 #include "grid.h"
-#include "spells.h"
-#include "floor.h"
+#include "spell/spells-type.h"
+#include "effect/effect-characteristics.h"
 #include "floor-save.h"
 #include "init.h"
 #include "files.h"
 #include "dungeon.h"
 #include "world.h"
+#include "spell/process-effect.h"
 
 static s16b normal_traps[MAX_NORMAL_TRAPS];
 
@@ -444,7 +446,7 @@ void hit_trap(player_type *trapped_ptr, bool break_trap)
                        if (autosave_l && (trapped_ptr->chp >= 0))
                                do_cmd_save_game(trapped_ptr, TRUE);
 
-                       exe_write_diary(trapped_ptr, DIARY_DESCRIPTION, 0, _("落とし戸に落ちた", "You have fallen through a trap door!"));
+                       exe_write_diary(trapped_ptr, DIARY_DESCRIPTION, 0, _("落とし戸に落ちた", "fell through a trap door!"));
                        prepare_change_floor_mode(trapped_ptr, CFM_SAVE_FLOORS | CFM_DOWN | CFM_RAND_PLACE | CFM_RAND_CONNECT);
                        trapped_ptr->leaving = TRUE;
                }