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
added constant MAX_DUST_DEPTHS.
[vor.git]
/
rocks.c
diff --git
a/rocks.c
b/rocks.c
index
5653979
..
5c23b81
100644
(file)
--- a/
rocks.c
+++ b/
rocks.c
@@
-229,7
+229,7
@@
blast_rocks(float x, float y, float radius, int onlyslow)
n = sqrt(dx*dx + dy*dy);
if(n < radius) {
n *= 20;
- rock[i].dx += 54.0*(dx+30)/n;
+ rock[i].dx += 54.0*dx/n;
rock[i].dy += 54.0*dy/n;
}
}