projects
/
micropolis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
624f1dd
)
fix fire coverage overlay by iterating over the whole map
author
Michael Gernoth
<michael@gernoth.net>
Sat, 26 Jan 2008 19:45:43 +0000
(20:45 +0100)
committer
Michael Gernoth
<michael@gernoth.net>
Sat, 26 Jan 2008 19:45:43 +0000
(20:45 +0100)
src/sim/g_map.c
patch
|
blob
|
blame
|
history
diff --git
a/src/sim/g_map.c
b/src/sim/g_map.c
index
1d2cb9e
..
4aea2c1
100644
(file)
--- a/
src/sim/g_map.c
+++ b/
src/sim/g_map.c
@@
-219,7
+219,7
@@
drawFireRadius(SimView *view)
short x, y;
drawAll(view);
- for (x = 0; x < Sm
Y
; x++) {
+ for (x = 0; x < Sm
X
; x++) {
for (y = 0; y < SmY; y++) {
maybeDrawRect(view, GetCI(FireRate[x][y]),
x * 24, y * 24, 24, 24);
Impressum
,
Datenschutz