diff options
author | Max Horn | 2003-12-26 13:13:56 +0000 |
---|---|---|
committer | Max Horn | 2003-12-26 13:13:56 +0000 |
commit | aa26fa0681ebd871ff976e6aec4d112eb9b21a19 (patch) | |
tree | 30831b970e42cb2784265cd4086f1f19f7aebf84 /scumm/script_v8.cpp | |
parent | ffbfe8922a3cfa2d2750fca3a2cb2d953fd1e4ca (diff) | |
download | scummvm-rg350-aa26fa0681ebd871ff976e6aec4d112eb9b21a19.tar.gz scummvm-rg350-aa26fa0681ebd871ff976e6aec4d112eb9b21a19.tar.bz2 scummvm-rg350-aa26fa0681ebd871ff976e6aec4d112eb9b21a19.zip |
when introducing a constant used throughout multiple files, best assign a *name* to it, else you're digging your own grave on the long run :-)
svn-id: r11941
Diffstat (limited to 'scumm/script_v8.cpp')
-rw-r--r-- | scumm/script_v8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v8.cpp b/scumm/script_v8.cpp index b4675ce533..1d26983ddf 100644 --- a/scumm/script_v8.cpp +++ b/scumm/script_v8.cpp @@ -1079,8 +1079,8 @@ void ScummEngine_v8::o8_actorOps() { // setChannelPan() won't do anything.) if (_actorToPrintStrFor == a->number) { - if (_sound->isSoundRunning(10000)) - _imuseDigital->parseScriptCmds(12, 0x700, 10000, a->talkPan, 0, 0, 0, 0); + if (_sound->isSoundRunning(kTalkSoundID)) + _imuseDigital->parseScriptCmds(12, 0x700, kTalkSoundID, a->talkPan, 0, 0, 0, 0); } break; |