fixed turn counter
This commit is contained in:
@ -153,7 +153,6 @@ game_result game::run() {
|
|||||||
case unknown:
|
case unknown:
|
||||||
case fine:
|
case fine:
|
||||||
case applied_nothing:
|
case applied_nothing:
|
||||||
++curr_turn;
|
|
||||||
return {in_game, ""};
|
return {in_game, ""};
|
||||||
|
|
||||||
default:
|
default:
|
||||||
@ -161,6 +160,8 @@ game_result game::run() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
++curr_turn;
|
||||||
|
|
||||||
player->calc_effects();
|
player->calc_effects();
|
||||||
|
|
||||||
if (player->is_dead())
|
if (player->is_dead())
|
||||||
@ -176,7 +177,6 @@ game_result game::run() {
|
|||||||
killer->get_race_name()};
|
killer->get_race_name()};
|
||||||
}
|
}
|
||||||
|
|
||||||
++curr_turn;
|
|
||||||
return {in_game, ""};
|
return {in_game, ""};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user