summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-13 11:17:59 +0000
committertruelight <truelight@openttd.org>2004-12-13 11:17:59 +0000
commitf80094deb729fc889003a33420ad4b6bb09444e3 (patch)
tree84030d93a9644ce45726ffbc7b8805d77d3cfc7a /gfx.c
parentc0603e476872ce76838d81f46c2e75e6636d1e65 (diff)
downloadopenttd-f80094deb729fc889003a33420ad4b6bb09444e3.tar.xz
(svn r1045) -Fix: OpenTTD compiles again under VC6 (sign_de)
Diffstat (limited to 'gfx.c')
-rw-r--r--gfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx.c b/gfx.c
index 821c08278..58376e22a 100644
--- a/gfx.c
+++ b/gfx.c
@@ -1510,7 +1510,7 @@ void DoPaletteAnimations()
int j;
int i;
const ExtraPaletteValues *ev = &_extra_palette_values;
- byte old_val[c*3];
+ byte old_val[114]; // max(c*(38:28)) = 114
d = _cur_palette + 217*3;
memcpy(old_val, d, c*3);