aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/animation.h
diff options
context:
space:
mode:
authorJames Brown2004-03-01 04:05:10 +0000
committerJames Brown2004-03-01 04:05:10 +0000
commitb77231a9a365cdcbb268101141b99200e11173b7 (patch)
tree2b0189830d366b077f5aefffe9f64c3ecc5d05b1 /sword2/driver/animation.h
parent267a96ba4fb854643b55ba1f80607bbfd18b284b (diff)
downloadscummvm-rg350-b77231a9a365cdcbb268101141b99200e11173b7.tar.gz
scummvm-rg350-b77231a9a365cdcbb268101141b99200e11173b7.tar.bz2
scummvm-rg350-b77231a9a365cdcbb268101141b99200e11173b7.zip
Fix from Roever for bug #892827
svn-id: r13107
Diffstat (limited to 'sword2/driver/animation.h')
-rw-r--r--sword2/driver/animation.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h
index 117aadd094..28399d06d4 100644
--- a/sword2/driver/animation.h
+++ b/sword2/driver/animation.h
@@ -90,7 +90,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;