diff options
author | Eugene Sandulenko | 2015-12-25 18:20:51 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:41:02 +0100 |
commit | 6d3fe9568955ff2475f2091d0edb866c68635522 (patch) | |
tree | b746f9c439cbf1fe8e79bac38f79c3884b54caea /engines/wage/script.cpp | |
parent | 81dc7cd98ff385fed4523f6b3f8ddc04ed7bea62 (diff) | |
download | scummvm-rg350-6d3fe9568955ff2475f2091d0edb866c68635522.tar.gz scummvm-rg350-6d3fe9568955ff2475f2091d0edb866c68635522.tar.bz2 scummvm-rg350-6d3fe9568955ff2475f2091d0edb866c68635522.zip |
WAGE: Implemented WageEngine::onMove()
Diffstat (limited to 'engines/wage/script.cpp')
-rw-r--r-- | engines/wage/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp index 3be74cc2c1..a26a733860 100644 --- a/engines/wage/script.cpp +++ b/engines/wage/script.cpp @@ -233,7 +233,7 @@ Script::Operand *Script::readOperand() { case 0xC2: // PLAYER@ return new Operand(_world->_player, CHR); case 0xC3: // MONSTER@ - return new Operand(_callbacks->_monster, CHR); + return new Operand(_callbacks->getMonster(), CHR); case 0xC4: // RANDOMSCN@ return new Operand(_world->_orderedScenes[_callbacks->_rnd->getRandomNumber(_world->_orderedScenes.size())], SCENE); case 0xC5: // RANDOMCHR@ |