diff options
author | Eugene Sandulenko | 2010-06-15 10:24:55 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-06-15 10:24:55 +0000 |
commit | 6d2c916c34d875d540f2a06b112b2e2fba5f2473 (patch) | |
tree | 6568d5560395a2144415466892aaa4b3cdf639b9 /engines/saga | |
parent | 2e20a48f907c61352a1ae69573830dd346a1bc61 (diff) | |
download | scummvm-rg350-6d2c916c34d875d540f2a06b112b2e2fba5f2473.tar.gz scummvm-rg350-6d2c916c34d875d540f2a06b112b2e2fba5f2473.tar.bz2 scummvm-rg350-6d2c916c34d875d540f2a06b112b2e2fba5f2473.zip |
SAGA: Add debug output for sfLockUser()
svn-id: r49723
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/sfuncs.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/saga/sfuncs.cpp b/engines/saga/sfuncs.cpp index a924383ba3..99a9cbf4d9 100644 --- a/engines/saga/sfuncs.cpp +++ b/engines/saga/sfuncs.cpp @@ -370,12 +370,15 @@ void Script::sfStopBgdAnim(SCRIPTFUNC_PARAMS) { // reenabled. // Param1: boolean void Script::sfLockUser(SCRIPTFUNC_PARAMS) { - if (thread->pop()) { + int16 param = thread->pop(); + + if (param != 0) { _vm->_interface->deactivate(); } else { _vm->_interface->activate(); } + debug(1, "sfLockUser(%d)", param); } // Script function #12 (0x0C) |