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
(from parent 1:
7a05bb4
)
fixing typo
author
Jason Woofenden
<jason@jasonwoof.com>
Mon, 13 Dec 2004 22:47:59 +0000
(22:47 +0000)
committer
Jason Woofenden
<jason@jasonwoof.com>
Mon, 13 Dec 2004 22:47:59 +0000
(22:47 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
5724a1a
..
a1ef981
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1118,7
+1118,7
@@
int gameloop() {
if(rock[i].active) {
rock[i].x += rock[i].xvel*movementrate;
rock[i].y += rock[i].yvel*movementrate + yscroll;
- if((rock[i].y > YSIZE && rock[i].y > 0) || (rock[i].y < -rock[i].image->h && rock[i].y < 0)) {
+ if((rock[i].y > YSIZE && rock[i].yvel > 0) || (rock[i].y < -rock[i].image->h && rock[i].yvel < 0)) {
if(rock[i].dead) {
rock[i].dead = 0;
rock[i].active = 0;