diff options
author | athrxx | 2013-04-15 21:51:19 +0200 |
---|---|---|
committer | athrxx | 2013-04-18 16:10:40 +0200 |
commit | d3419f6a313e7ba214c88da1fad48d36d4423aba (patch) | |
tree | e30f13e4473d6ae82ebf04aaaa9b1d2c6b65f861 /engines/kyra | |
parent | 0a623ecdece7fd90525f81fcbba2a937986098cf (diff) | |
download | scummvm-rg350-d3419f6a313e7ba214c88da1fad48d36d4423aba.tar.gz scummvm-rg350-d3419f6a313e7ba214c88da1fad48d36d4423aba.tar.bz2 scummvm-rg350-d3419f6a313e7ba214c88da1fad48d36d4423aba.zip |
KYRA: (EOB) - add assert in sprites_eob.cpp (might fix warning about possible null ptr deref)
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/sprites_eob.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/kyra/sprites_eob.cpp b/engines/kyra/sprites_eob.cpp index f713508063..1d4c143185 100644 --- a/engines/kyra/sprites_eob.cpp +++ b/engines/kyra/sprites_eob.cpp @@ -653,6 +653,8 @@ void EoBCoreEngine::drawFlyingObjects(int index) { } } + assert(shp); + shp = _screen->scaleShape(shp, sclValue); if (rstFade) { |