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:
5ffcd94
)
oops, was drawing *inactive* bang dots
author
Joshua Grams
<josh@qualdan.com>
Thu, 22 Jun 2006 21:53:30 +0000
(21:53 +0000)
committer
Joshua Grams
<josh@qualdan.com>
Thu, 22 Jun 2006 21:53:30 +0000
(21:53 +0000)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
06f46c1
..
7c046dd
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-223,7
+223,7
@@
draw_bang_dots(SDL_Surface *s)
pixels = (uint16_t *) s->pixels;
for(i=0; i<MAXBANGDOTS; i++) {
- if(bdot[i].active) continue;
+ if(!bdot[i].active) continue;
pixel = pixels + row_inc*(int)(bdot[i].y) + (int)(bdot[i].x);
if(bdot[i].c) c = bdot[i].c; else c = heatcolor[(int)(bdot[i].life)*3];