From 3cab55b46859459fecfc4af498b5bf7aa73a17a9 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Sat, 26 Jan 2008 20:45:43 +0100 Subject: [PATCH] fix fire coverage overlay by iterating over the whole map --- src/sim/g_map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim/g_map.c b/src/sim/g_map.c index 1d2cb9e..4aea2c1 100644 --- 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 < SmY; x++) { + for (x = 0; x < SmX; x++) { for (y = 0; y < SmY; y++) { maybeDrawRect(view, GetCI(FireRate[x][y]), x * 24, y * 24, 24, 24); -- 2.39.5