diff options
-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; |