OSDN Git Service
(root)
/
hengbandforosx
/
hengbandosx.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #3230 PlayerType::update に関わる処理を、RedrawingFlagsUpdaterに集約した
[hengbandforosx/hengbandosx.git]
/
src
/
monster
/
monster-processor.cpp
diff --git
a/src/monster/monster-processor.cpp
b/src/monster/monster-processor.cpp
index
16ecabc
..
a35aa51
100644
(file)
--- a/
src/monster/monster-processor.cpp
+++ b/
src/monster/monster-processor.cpp
@@
-65,6
+65,7
@@
#include "system/monster-entity.h"
#include "system/monster-race-info.h"
#include "system/player-type-definition.h"
#include "system/monster-entity.h"
#include "system/monster-race-info.h"
#include "system/player-type-definition.h"
+#include "system/redrawing-flags-updater.h"
#include "target/projection-path-calculator.h"
#include "view/display-messages.h"
#include "target/projection-path-calculator.h"
#include "view/display-messages.h"
@@
-152,7
+153,7
@@
void process_monster(PlayerType *player_ptr, MONSTER_IDX m_idx)
}
if (turn_flags_ptr->is_riding_mon) {
}
if (turn_flags_ptr->is_riding_mon) {
-
player_ptr->update |= PU_BONUS
;
+
RedrawingFlagsUpdater::get_instance().set_flag(StatusRedrawingFlag::BONUS)
;
}
process_angar(player_ptr, m_idx, turn_flags_ptr->see_m);
}
process_angar(player_ptr, m_idx, turn_flags_ptr->see_m);