OSDN Git Service

[Refactor] #864 Separated player_type struct from player-type.h to player-type-defini...
[hengbandforosx/hengbandosx.git] / src / floor / floor-mode-changer.cpp
1 #include "floor/floor-mode-changer.h"
2 #include "system/player-type-definition.h"
3
4 /*!
5  * @brief フロア切り替え時の処理フラグを追加する / Prepare mode flags of changing floor
6  * @param creature_ptr プレーヤーへの参照ポインタ
7  * @param mode 追加したい所持フラグ
8  * @return なし
9  */
10 void prepare_change_floor_mode(player_type *creature_ptr, BIT_FLAGS mode) { creature_ptr->change_floor_mode |= mode; }