Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
vor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cfde1e
)
Removed control of ship during dead pause; the new ship
author
Joshua Grams
<josh@qualdan.com>
Fri, 24 Mar 2006 20:22:42 +0000
(20:22 +0000)
committer
Joshua Grams
<josh@qualdan.com>
Fri, 24 Mar 2006 20:22:42 +0000
(20:22 +0000)
velocity change upon dying makes it unnecessary.
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
5fb2fbf
..
63c8c4a
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-675,7
+675,7
@@
gameloop() {
ship.jets = 0;
}
- if(state == GAMEPLAY || state == DEAD_PAUSE) {
+ if(state == GAMEPLAY) {
if(!paused) {
if(keystate[SDLK_LEFT] | keystate[SDLK_h]) { ship.dx -= 1.5*t_frame; ship.jets |= 1<<0;}
if(keystate[SDLK_DOWN] | keystate[SDLK_t]) { ship.dy += 1.5*t_frame; ship.jets |= 1<<1;}