diff options
Diffstat (limited to 'sword1/animation.h')
-rw-r--r-- | sword1/animation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword1/animation.h b/sword1/animation.h index 0e0bea0694..29f4f41bce 100644 --- a/sword1/animation.h +++ b/sword1/animation.h @@ -96,7 +96,7 @@ private: int palnum; int maxPalnum; - byte lookup[2][BITDEPTH * BITDEPTH * BITDEPTH]; + byte lookup[2][(BITDEPTH+1) * (BITDEPTH+1) * (BITDEPTH+1)]; byte *lut; byte *lut2; int lutcalcnum; |