OSDN Git Service

[Refactor] #38997 forget_view() に floor_type * 引数を追加. / Add floor_type * argument...
[hengband/hengband.git] / src / player-status.c
index af2a809..c53077e 100644 (file)
@@ -5051,7 +5051,7 @@ void update_creature(player_type *creature_ptr)
        if (creature_ptr->update & (PU_UN_VIEW))
        {
                creature_ptr->update &= ~(PU_UN_VIEW);
-               forget_view();
+               forget_view(creature_ptr->current_floor_ptr);
        }
 
        if (creature_ptr->update & (PU_VIEW))