diff options
author | Paul Gilbert | 2011-07-10 10:11:50 +1000 |
---|---|---|
committer | Paul Gilbert | 2011-07-10 10:11:50 +1000 |
commit | 319ff2ca4911a68b7d21246699c31ca26b8e59a2 (patch) | |
tree | 4644eba598e0de458bb7da5898756ed3a807c306 /engines | |
parent | 0bbefbef901e5bf5686f6fe0b49ebbdc9f89a3df (diff) | |
download | scummvm-rg350-319ff2ca4911a68b7d21246699c31ca26b8e59a2.tar.gz scummvm-rg350-319ff2ca4911a68b7d21246699c31ca26b8e59a2.tar.bz2 scummvm-rg350-319ff2ca4911a68b7d21246699c31ca26b8e59a2.zip |
CGE: Changed Sprite::contract to always destroy the sprite array
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge/vga13h.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/cge/vga13h.cpp b/engines/cge/vga13h.cpp index ed87da1c82..2530bf970a 100644 --- a/engines/cge/vga13h.cpp +++ b/engines/cge/vga13h.cpp @@ -620,8 +620,7 @@ Sprite *Sprite::contract() { int i; for (i = 0; e->_shpList[i]; i++) delete e->_shpList[i]; - if (memType(e->_shpList) == NEAR_MEM) - delete[] e->_shpList; + delete[] e->_shpList; } if (memType(e->_seq) == NEAR_MEM) free(e->_seq); |