diff options
author | Bastien Bouclet | 2010-11-29 20:49:42 +0000 |
---|---|---|
committer | Bastien Bouclet | 2010-11-29 20:49:42 +0000 |
commit | 6a4ff1a9b52c2dd31b951ad9e3362da5f29b37fc (patch) | |
tree | 36e188ea9a80978b02319c5a89b04ba33391f98d /engines/mohawk/console.cpp | |
parent | 5f8e6e3824823869fdb2fd5d4dae334817d318be (diff) | |
download | scummvm-rg350-6a4ff1a9b52c2dd31b951ad9e3362da5f29b37fc.tar.gz scummvm-rg350-6a4ff1a9b52c2dd31b951ad9e3362da5f29b37fc.tar.bz2 scummvm-rg350-6a4ff1a9b52c2dd31b951ad9e3362da5f29b37fc.zip |
MOHAWK : Finished implementing Selenitic sound receiver
svn-id: r54593
Diffstat (limited to 'engines/mohawk/console.cpp')
-rw-r--r-- | engines/mohawk/console.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/console.cpp b/engines/mohawk/console.cpp index e4fe9e0f8b..1e669c2b20 100644 --- a/engines/mohawk/console.cpp +++ b/engines/mohawk/console.cpp @@ -86,9 +86,9 @@ bool MystConsole::Cmd_Var(int argc, const char **argv) { } if (argc > 2) - _vm->_varStore->setVar((uint16)atoi(argv[1]), (uint32)atoi(argv[2])); + _vm->_scriptParser->setVarValue((uint16)atoi(argv[1]), (uint16)atoi(argv[2])); - DebugPrintf("%d = %d\n", (uint16)atoi(argv[1]), _vm->_varStore->getVar((uint16)atoi(argv[1]))); + DebugPrintf("%d = %d\n", (uint16)atoi(argv[1]), _vm->_scriptParser->getVar((uint16)atoi(argv[1]))); return true; } |