aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-04-30 22:37:03 +0000
committerMax Horn2003-04-30 22:37:03 +0000
commite3acde9f9c9cf0bfc3bd72424b70b756189bc5a3 (patch)
tree41d150385125be57f60c6267e6ee2eb004234e04
parent6b17d487e434f574587358733ede073ccab355ed (diff)
downloadscummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.tar.gz
scummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.tar.bz2
scummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.zip
assert in compile mode expands to ... nnothing!
svn-id: r7236
-rw-r--r--scumm/verbs.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/verbs.cpp b/scumm/verbs.cpp
index 24537692e7..067874eec6 100644
--- a/scumm/verbs.cpp
+++ b/scumm/verbs.cpp
@@ -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;