aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-01-29 19:37:59 +0000
committerPaweł Kołodziejski2004-01-29 19:37:59 +0000
commitdc1e4699ee84ac3cf1e35d69f8d85a18acaedd9b (patch)
treed893519143cb52bdb48c11516e6bed4283354403
parent176aa74827decbeb3efee979b34599e109a863a2 (diff)
downloadscummvm-rg350-dc1e4699ee84ac3cf1e35d69f8d85a18acaedd9b.tar.gz
scummvm-rg350-dc1e4699ee84ac3cf1e35d69f8d85a18acaedd9b.tar.bz2
scummvm-rg350-dc1e4699ee84ac3cf1e35d69f8d85a18acaedd9b.zip
fixed warning
svn-id: r12666
-rw-r--r--simon/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/debugger.cpp b/simon/debugger.cpp
index 300e9dffb8..57b373e1db 100644
--- a/simon/debugger.cpp
+++ b/simon/debugger.cpp
@@ -155,7 +155,7 @@ bool Debugger::Cmd_SetBit(int argc, const char **argv) {
bit = atoi(argv[1]);
value = atoi(argv[2]);
if (value <= 1) {
- _vm->vc_set_bit_to(bit, value);
+ _vm->vc_set_bit_to(bit, value != 0);
DebugPrintf("Set bit %d to %d\n", bit, value);
} else
DebugPrintf("Bit value out of range (0 - 1)\n");