From 6e5b537aaffab8c734cec394e80ee5ba85b5aa86 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 15 Jul 2010 19:39:43 +0000 Subject: [PATCH] SCI: r50919 had some temporary test code in it, removing that so it really returns the actual "problem" svn-id: r50920 --- engines/sci/engine/kgraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 11412ac1f3a..705aaa4ddb4 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -391,7 +391,7 @@ reg_t kCantBeHere(EngineState *s, int argc, reg_t *argv) { reg_t listReference = (argc > 1) ? argv[1] : NULL_REG; reg_t canBeHere = g_sci->_gfxCompare->kernelCanBeHere(curObject, listReference); - return make_reg(0, canBeHere.isNull() ? 0 : 1); + return canBeHere; } reg_t kIsItSkip(EngineState *s, int argc, reg_t *argv) {