diff options
author | Max Horn | 2003-04-30 22:37:03 +0000 |
---|---|---|
committer | Max Horn | 2003-04-30 22:37:03 +0000 |
commit | e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3 (patch) | |
tree | 41d150385125be57f60c6267e6ee2eb004234e04 /scumm/verbs.cpp | |
parent | 6b17d487e434f574587358733ede073ccab355ed (diff) | |
download | scummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.tar.gz scummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.tar.bz2 scummvm-rg350-e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3.zip |
assert in compile mode expands to ... nnothing!
svn-id: r7236
Diffstat (limited to 'scumm/verbs.cpp')
-rw-r--r-- | scumm/verbs.cpp | 3 |
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; |