fix ending/credits

This commit is contained in:
Andrew "Akari" Alexeyew 2012-08-07 15:44:39 +03:00
parent 174bab7ce6
commit 084e9a0099

View file

@ -50,11 +50,6 @@ troll:
stages[i].loop();
}
if(global.game_over == GAMEOVER_WIN) {
ending_loop();
credits_loop();
}
if(global.replay.active) {
switch(tconfig.intval[SAVE_RPY]) {
case 0: break;
@ -73,6 +68,11 @@ troll:
}
}
if(global.game_over == GAMEOVER_WIN && !arg) {
ending_loop();
credits_loop();
}
replay_destroy(&global.replay);
global.game_over = 0;
}