take advantage from recent refactoring in frame skipping cheat

This commit is contained in:
Sebastian Krzyszkowiak 2012-09-26 20:00:24 +02:00
parent 1ba89400d6
commit b2b95857cd

View file

@ -609,7 +609,7 @@ int main(int argc, char **argv){
else if ((game.debug) && (ev.type == ALLEGRO_EVENT_KEY_DOWN) && (ev.keyboard.keycode == ALLEGRO_KEY_F1)) { else if ((game.debug) && (ev.type == ALLEGRO_EVENT_KEY_DOWN) && (ev.keyboard.keycode == ALLEGRO_KEY_F1)) {
int i; int i;
for (i=0; i<512; i++) { for (i=0; i<512; i++) {
DrawGameState(&game); LogicGameState(&game);
} }
game.showconsole = true; game.showconsole = true;
PrintConsole(&game, "DEBUG: 512 frames skipped..."); PrintConsole(&game, "DEBUG: 512 frames skipped...");