aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
authoruruk2014-07-22 18:01:37 +0200
committeruruk2014-07-22 18:01:37 +0200
commit2f19de9ebe1d62d3bb6f93a121c68e52337a179f (patch)
tree8ba57877c265e4090ac63282d398df7e865d0025 /engines/cge2
parente261886d92ea3c173d0e3a38cce73ac2b6d54c3f (diff)
downloadscummvm-rg350-2f19de9ebe1d62d3bb6f93a121c68e52337a179f.tar.gz
scummvm-rg350-2f19de9ebe1d62d3bb6f93a121c68e52337a179f.tar.bz2
scummvm-rg350-2f19de9ebe1d62d3bb6f93a121c68e52337a179f.zip
CGE2: Fix error introduced by previous commit.
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/snail.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/snail.cpp b/engines/cge2/snail.cpp
index c8b1722134..8cb8d19b24 100644
--- a/engines/cge2/snail.cpp
+++ b/engines/cge2/snail.cpp
@@ -286,7 +286,7 @@ void CommandHandler::runCommand() {
break;
case kCmdSound:
_vm->snSound(spr, tailCmd._val);
- _sound->setRepeat(1);
+ _vm->_sound->setRepeat(1);
break;
case kCmdMap:
_vm->_heroTab[tailCmd._ref & 1]->_ptr->_ignoreMap = tailCmd._val == 0;