diff options
author | Travis Howell | 2006-01-05 08:42:48 +0000 |
---|---|---|
committer | Travis Howell | 2006-01-05 08:42:48 +0000 |
commit | 1995eec5504a4bc5ceeb532d9df7588441060f64 (patch) | |
tree | 9478256f9911ef245d6033bc2522e3693b969938 /scumm/script_v72he.cpp | |
parent | 50636c33d32debef920026da30094b5796e33351 (diff) | |
download | scummvm-rg350-1995eec5504a4bc5ceeb532d9df7588441060f64.tar.gz scummvm-rg350-1995eec5504a4bc5ceeb532d9df7588441060f64.tar.bz2 scummvm-rg350-1995eec5504a4bc5ceeb532d9df7588441060f64.zip |
Sets random talk state, if value is zero.
Fixes song in puttrace.
svn-id: r19913
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 516827daca..de9f1d43df 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -1139,9 +1139,10 @@ void ScummEngine_v72he::o72_actorOps() { break; case 24: // HE 80+ k = pop(); + if (k == 0) + k = _rnd.getRandomNumberRng(1, 10); a->_heNoTalkAnimation = 1; a->setTalkCondition(k); - debug(1,"o72_actorOps: case 24 (%d)", k); break; case 43: // HE 90+ // HE games use reverse order of layering, so we adjust |