diff options
author | Paul Gilbert | 2011-07-13 19:21:34 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-13 19:21:34 +1000 |
commit | 9dc2cb87d98c801a773659af37dd1b84d73f4888 (patch) | |
tree | 202474f60bf3e99b9d3f064de58be381d3b42fb0 /engines | |
parent | 6c9719009223947572c8e81fdefe9e4cd17f717f (diff) | |
download | scummvm-rg350-9dc2cb87d98c801a773659af37dd1b84d73f4888.tar.gz scummvm-rg350-9dc2cb87d98c801a773659af37dd1b84d73f4888.tar.bz2 scummvm-rg350-9dc2cb87d98c801a773659af37dd1b84d73f4888.zip |
CGE: Fix array size in Spike class constructor
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/vga13h.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index c36d747295..eab50660dd 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -1387,7 +1387,7 @@ CavLight::CavLight(CGEEngine *vm): Sprite(vm, NULL) { Spike::Spike(CGEEngine *vm): Sprite(vm, NULL) { // Set the sprite list - BMP_PTR *SP = new BMP_PTR[2]; + BMP_PTR *SP = new BMP_PTR[3]; SP[0] = new Bitmap("SPK_L", true); SP[1] = new Bitmap("SPK_R", true); SP[2] = NULL; |