From e3acde9f9c9cf0bfc3bd72424b70b756189bc5a3 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 30 Apr 2003 22:37:03 +0000 Subject: assert in compile mode expands to ... nnothing! svn-id: r7236 --- scumm/verbs.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- cgit v1.2.3