fixed
1. enemies spawning on the same tile as the player 2. start_turn in the wrong places
This commit is contained in:
@ -109,6 +109,8 @@ game_result game::run() {
|
||||
std::to_string(curr_turn + 1) +
|
||||
" turns!"};
|
||||
|
||||
player->start_turn();
|
||||
|
||||
player->discard_level_effects();
|
||||
|
||||
++curr_level;
|
||||
@ -130,6 +132,8 @@ game_result game::run() {
|
||||
std::to_string(curr_turn + 1) +
|
||||
" turns! Coward!"};
|
||||
|
||||
player->start_turn();
|
||||
|
||||
player->discard_level_effects();
|
||||
|
||||
--curr_level;
|
||||
@ -153,6 +157,7 @@ game_result game::run() {
|
||||
return {in_game, ""};
|
||||
|
||||
default:
|
||||
player->start_turn();
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user