summaryrefslogtreecommitdiff
path: root/gfx.c
diff options
context:
space:
mode:
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);