diff options
author | Thomas Fach-Pedersen | 2016-10-24 19:24:32 +0200 |
---|---|---|
committer | Thomas Fach-Pedersen | 2016-10-24 19:40:18 +0200 |
commit | e0a04a3185d92b0979babdf23a3eaf49c5d815a8 (patch) | |
tree | 2357a306f08a0b6e104092f20cd91ac675f4fda5 /engines/bladerunner/adq.cpp | |
parent | 4b6e0f0e7d68e61b5870431d3aded6f7950f2282 (diff) | |
download | scummvm-rg350-e0a04a3185d92b0979babdf23a3eaf49c5d815a8.tar.gz scummvm-rg350-e0a04a3185d92b0979babdf23a3eaf49c5d815a8.tar.bz2 scummvm-rg350-e0a04a3185d92b0979babdf23a3eaf49c5d815a8.zip |
BLADERUNNER: Fix out-of-bounds access in voiceover actor (multiple CIDs)
CID 1364219
CID 1364223
Diffstat (limited to 'engines/bladerunner/adq.cpp')
-rw-r--r-- | engines/bladerunner/adq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/adq.cpp b/engines/bladerunner/adq.cpp index ca72497b99..d2d3dec6ce 100644 --- a/engines/bladerunner/adq.cpp +++ b/engines/bladerunner/adq.cpp @@ -50,7 +50,7 @@ ADQ::~ADQ() { } void ADQ::add(int actorId, int sentenceId, int animationMode) { - if (actorId == 0 || actorId == 99) { + if (actorId == 0 || actorId == VOICEOVER_ACTOR) { animationMode = -1; } if (_entries.size() < 25) { |