(svn r1045) -Fix: OpenTTD compiles again under VC6 (sign_de)

This commit is contained in:
truelight
2004-12-13 11:17:59 +00:00
parent c0603e4768
commit f80094deb7
5 changed files with 5 additions and 4 deletions

2
gfx.c
View File

@@ -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);