diff options
author | Max Horn | 2010-06-28 11:20:33 +0000 |
---|---|---|
committer | Max Horn | 2010-06-28 11:20:33 +0000 |
commit | 2c01d10a36f50da6c8bdcfe70558f7d9a2e56324 (patch) | |
tree | 5b33d3bbc12602e069fb84f962cfa341c5c69ae7 /engines/sci/graphics/screen.h | |
parent | 9f48a37671737229e76cd38cf766d855fd2e7318 (diff) | |
download | scummvm-rg350-2c01d10a36f50da6c8bdcfe70558f7d9a2e56324.tar.gz scummvm-rg350-2c01d10a36f50da6c8bdcfe70558f7d9a2e56324.tar.bz2 scummvm-rg350-2c01d10a36f50da6c8bdcfe70558f7d9a2e56324.zip |
SCI: Remove GfxView::getLoopInfo; add assert to GfxView::getCelInfo
The return value of GfxView::getCelInfo was used virtually everywhere
without a check for it being non-NULL. Hence instead of returning
NULL when the loop count is zero, it makes more sense to assert out
(instead of a segfault, or worse, random data being used).
svn-id: r50422
Diffstat (limited to 'engines/sci/graphics/screen.h')
0 files changed, 0 insertions, 0 deletions