diff options
author | Johannes Schickel | 2007-07-08 12:50:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-07-08 12:50:24 +0000 |
commit | c6c06a922e25a09ad78508ba476bf18cfa16c10f (patch) | |
tree | 0cebccb50e43bb6db891ff54db57d0edec97a993 /engines/kyra/gui.cpp | |
parent | 373cadce5b5f4e58d77e366f5e4ef7f00ec1394d (diff) | |
download | scummvm-rg350-c6c06a922e25a09ad78508ba476bf18cfa16c10f.tar.gz scummvm-rg350-c6c06a922e25a09ad78508ba476bf18cfa16c10f.tar.bz2 scummvm-rg350-c6c06a922e25a09ad78508ba476bf18cfa16c10f.zip |
Little renaming.
svn-id: r27963
Diffstat (limited to 'engines/kyra/gui.cpp')
-rw-r--r-- | engines/kyra/gui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index 8cafb54fb8..6fc347158f 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -230,14 +230,14 @@ int KyraEngine::buttonAmuletCallback(Button *caller) { drawJewelsFadeOutEnd(jewel); _scriptInterpreter->initScript(_scriptClick, _scriptClickData); - _scriptClick->variables[3] = 0; - _scriptClick->variables[6] = jewel; + _scriptClick->regs[3] = 0; + _scriptClick->regs[6] = jewel; _scriptInterpreter->startScript(_scriptClick, 4); while (_scriptInterpreter->validScript(_scriptClick)) _scriptInterpreter->runScript(_scriptClick); - if (_scriptClick->variables[3]) + if (_scriptClick->regs[3]) return 1; _unkAmuletVar = 1; |