assert in compile mode expands to ... nnothing!

svn-id: r7236
This commit is contained in:
Max Horn 2003-04-30 22:37:03 +00:00
parent 6b17d487e4
commit e3acde9f9c

View File

@ -221,7 +221,8 @@ void Scumm::drawVerbBitmap(int verb, int x, int y) {
xstrip = x >> 3;
ydiff = y - vs->topline;
assert(obim = getResourceAddress(rtVerb, verb));
obim = getResourceAddress(rtVerb, verb);
assert(obim);
if (_features & GF_OLD_BUNDLE) {
imgw = obim[0];
imgh = obim[1] >> 3;