shmup:: count_pauses is now reset to 0, and also not displayed in standard shmup

This commit is contained in:
Zeno Rogue 2022-11-03 19:36:54 +01:00
parent 035532ef26
commit b4302ac6b4
2 changed files with 2 additions and 1 deletions

View File

@ -2581,7 +2581,7 @@ EX void turn(int delta) {
in_pause = true;
if(!(racing::on && !racing::started() && !racing::finished())) {
count_pauses++;
addMessage(XLAT("Pauses: %1 of %2 allowed", its(count_pauses), its(racing::pause_limit)));
if(racing::on) addMessage(XLAT("Pauses: %1 of %2 allowed", its(count_pauses), its(racing::pause_limit)));
}
}
if(racing::on) {

View File

@ -211,6 +211,7 @@ EX void initgame() {
clearing::direct = 0;
clearing::imputed = 0;
rosephase = 0;
shmup::count_pauses = 0;
if(firstland == laElementalWall) cwt.at->land = randomElementalLand();