From b77231a9a365cdcbb268101141b99200e11173b7 Mon Sep 17 00:00:00 2001 From: James Brown Date: Mon, 1 Mar 2004 04:05:10 +0000 Subject: Fix from Roever for bug #892827 svn-id: r13107 --- sword2/driver/animation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword2/driver/animation.h') 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; -- cgit v1.2.3