aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
authorEugene Sandulenko2007-11-19 20:41:13 +0000
committerEugene Sandulenko2007-11-19 20:41:13 +0000
commit7270c8113e0bd2bd826d3166716773a603b67c51 (patch)
tree4684e0ef6c655aba0cccb5d8b35e8fac4b2347c2 /engines/agi
parent8a145bbb53eb82e18a31b39dcb5eba522940fd6d (diff)
downloadscummvm-rg350-7270c8113e0bd2bd826d3166716773a603b67c51.tar.gz
scummvm-rg350-7270c8113e0bd2bd826d3166716773a603b67c51.tar.bz2
scummvm-rg350-7270c8113e0bd2bd826d3166716773a603b67c51.zip
oops. that's what last minute moves may result in.
svn-id: r29570
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/preagi_common.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/preagi_common.cpp b/engines/agi/preagi_common.cpp
index a2eec53e95..5d99dfa7f9 100644
--- a/engines/agi/preagi_common.cpp
+++ b/engines/agi/preagi_common.cpp
@@ -192,7 +192,7 @@ int PreAgiEngine::getSelection(SelectionTypes type) {
void PreAgiEngine::playNote(int16 frequency, int32 length) {
_speakerStream->play(Audio::PCSpeaker::kWaveFormSquare, frequency, length);
- _vm->_system->delayMillis(duration);
+ _system->delayMillis(length);
}
}