OSDN Git Service

[feature] ソースファイルをC++に対応
[hengbandforosx/hengbandosx.git] / src / market / building-quest.c
index 73ebbb0..0ee2e04 100644 (file)
@@ -34,7 +34,7 @@ static void get_questinfo(player_type *player_ptr, IDX questnum, bool do_init)
 
     init_flags = INIT_SHOW_TEXT;
     if (do_init)
-        init_flags |= INIT_ASSIGN;
+        init_flags = static_cast<init_flags_type>(init_flags | INIT_ASSIGN);
 
     parse_fixed_map(player_ptr, "q_info.txt", 0, 0, 0, 0);
     floor_ptr->inside_quest = old_quest;
@@ -123,4 +123,4 @@ void castle_quest(player_type *player_ptr)
     msg_format("Your quest: kill %d %s", q_ptr->max_num, name);
 #endif
     get_questinfo(player_ptr, q_index, TRUE);
-}
\ No newline at end of file
+}