diff options
author | Sven Hesse | 2011-01-20 10:20:57 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-20 10:20:57 +0000 |
commit | 6b85f809d9fcb2e7140944b5a8be14373b8fc081 (patch) | |
tree | 310755730b08359c0038b7a837091fa5df71b6c8 /engines/gob/draw.h | |
parent | dd3894a44248e2c5b2c646b4cc1d1353442b7fbb (diff) | |
download | scummvm-rg350-6b85f809d9fcb2e7140944b5a8be14373b8fc081.tar.gz scummvm-rg350-6b85f809d9fcb2e7140944b5a8be14373b8fc081.tar.bz2 scummvm-rg350-6b85f809d9fcb2e7140944b5a8be14373b8fc081.zip |
GOB: Urban: Fix missing visuals at Cemetary/Lab
Urban Runner decouples _frontSurface and
_spritesArray[kFrontSurface] at that screen... *sigh*
svn-id: r55346
Diffstat (limited to 'engines/gob/draw.h')
-rw-r--r-- | engines/gob/draw.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/gob/draw.h b/engines/gob/draw.h index 8ef5671948..6a23994cf8 100644 --- a/engines/gob/draw.h +++ b/engines/gob/draw.h @@ -179,10 +179,7 @@ public: void dirtiedRect(SurfacePtr surface, int16 left, int16 top, int16 right, int16 bottom); void initSpriteSurf(int16 index, int16 width, int16 height, int16 flags); - void freeSprite(int16 index) { - assert(index < SPRITES_COUNT); - _spritesArray[index].reset(); - } + void freeSprite(int16 index); void adjustCoords(char adjust, int16 *coord1, int16 *coord2); void adjustCoords(char adjust, uint16 *coord1, uint16 *coord2) { adjustCoords(adjust, (int16 *)coord1, (int16 *)coord2); |