aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v1.cpp
diff options
context:
space:
mode:
authorSven Hesse2006-08-12 09:16:08 +0000
committerSven Hesse2006-08-12 09:16:08 +0000
commit1c4715b71f79acede6b3758cfd16881bad14e23e (patch)
treecf69fad6a6ab92b973405b058f035f3c00223033 /engines/gob/inter_v1.cpp
parentde9ba3adeec3a89a1155685d8e3fc589962f1d11 (diff)
downloadscummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.tar.gz
scummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.tar.bz2
scummvm-rg350-1c4715b71f79acede6b3758cfd16881bad14e23e.zip
- Some more goblins-handling functions
- Fixed some mistakes I made in the Parse_v2 functions. Now the goblins (finally) move. Also, the correct music is played in the first screen. - Found the hook for the menu - On freeing a sound slot, only stop the playing music if it's in the slot to free svn-id: r23700
Diffstat (limited to 'engines/gob/inter_v1.cpp')
-rw-r--r--engines/gob/inter_v1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/gob/inter_v1.cpp b/engines/gob/inter_v1.cpp
index 2c25322f38..c9067f39b9 100644
--- a/engines/gob/inter_v1.cpp
+++ b/engines/gob/inter_v1.cpp
@@ -1806,6 +1806,7 @@ bool Inter_v1::o1_call(char &cmdCount, int16 &counter, int16 &retFlag) {
bool Inter_v1::o1_callBool(char &cmdCount, int16 &counter, int16 &retFlag) {
byte cmd;
bool boolRes = evalBoolResult() != 0;
+
if (boolRes != 0) {
if (counter == cmdCount
&& retFlag == 2)