aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2011-11-18 03:26:21 +0100
committerJohannes Schickel2011-11-18 03:26:21 +0100
commit11a7993085d30f113fc7a8cc85c4202717be21e8 (patch)
tree1909c3a8c5dc252474ad63400285403dea2c7a05 /engines/kyra
parente8ee551e997cc3a12d5a824deb038d6f554a1858 (diff)
downloadscummvm-rg350-11a7993085d30f113fc7a8cc85c4202717be21e8.tar.gz
scummvm-rg350-11a7993085d30f113fc7a8cc85c4202717be21e8.tar.bz2
scummvm-rg350-11a7993085d30f113fc7a8cc85c4202717be21e8.zip
KYRA: Add some assert for debugging purposes.
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/kyra_v1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp
index c950612a42..bf0c23bf69 100644
--- a/engines/kyra/kyra_v1.cpp
+++ b/engines/kyra/kyra_v1.cpp
@@ -183,6 +183,7 @@ Common::Error KyraEngine_v1::init() {
assert(_staticres);
if (!_staticres->init())
error("_staticres->init() failed");
+ assert(screen());
if (!screen()->init())
error("screen()->init() failed");
_timer = new TimerManager(this, _system);