diff options
author | Jamieson Christian | 2003-05-19 15:40:34 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-05-19 15:40:34 +0000 |
commit | 5a89820f0deb8bdee8677bd82304acd355d05597 (patch) | |
tree | 9d879f41c85201d3cde4bc70769106d2da02049f /scumm/script_v6.cpp | |
parent | ec4cc7d774450b1877b18b2e13a6ff7e8f19d25d (diff) | |
download | scummvm-rg350-5a89820f0deb8bdee8677bd82304acd355d05597.tar.gz scummvm-rg350-5a89820f0deb8bdee8677bd82304acd355d05597.tar.bz2 scummvm-rg350-5a89820f0deb8bdee8677bd82304acd355d05597.zip |
Fixed VC++ warnings
svn-id: r7690
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 9e73e40fd8..085aee3abd 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -686,7 +686,7 @@ void Scumm_v6::o6_startScriptEx() { getStackList(args, ARRAYSIZE(args)); script = pop(); flags = pop(); - runScript(script, flags & 1, flags & 2, args); + runScript(script, (flags & 1) != 0, (flags & 2) != 0, args); } void Scumm_v6::o6_jumpToScript() { @@ -697,7 +697,7 @@ void Scumm_v6::o6_jumpToScript() { script = pop(); flags = pop(); stopObjectCode(); - runScript(script, flags & 1, flags & 2, args); + runScript(script, (flags & 1) != 0, (flags & 2) != 0, args); } void Scumm_v6::o6_startScript() { @@ -724,7 +724,7 @@ void Scumm_v6::o6_startObjectEx() { entryp = pop(); script = pop(); flags = pop(); - runVerbCode(script, entryp, flags & 1, flags & 2, args); + runVerbCode(script, entryp, (flags & 1) != 0, (flags & 2) != 0, args); } void Scumm_v6::o6_startObjectQuick() { |