Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
you can quite regardles of game state
[vor.git]
/
main.c
diff --git
a/main.c
b/main.c
index
309da05
..
1680129
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-788,10
+788,6
@@
gameloop() {
SDL_PumpEvents();
keystate = SDL_GetKeyState(NULL);
SDL_PumpEvents();
keystate = SDL_GetKeyState(NULL);
- if(state != HIGH_SCORE_ENTRY && (keystate[SDLK_q] || keystate[SDLK_ESCAPE])) {
- return 0;
- }
-
if(keystate[SDLK_SPACE] && (state == HIGH_SCORE_DISPLAY || state == TITLE_PAGE)) {
reset_rocks();
if(keystate[SDLK_SPACE] && (state == HIGH_SCORE_DISPLAY || state == TITLE_PAGE)) {
reset_rocks();
@@
-845,6
+841,11
@@
gameloop() {
state_timeout = -1;
}
}
state_timeout = -1;
}
}
+
+ if(state != HIGH_SCORE_ENTRY && (keystate[SDLK_q] || keystate[SDLK_ESCAPE])) {
+ return 0;
+ }
+
}
}
}
}