aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-10-05 16:40:57 +0200
committerWillem Jan Palenstijn2012-10-05 16:41:02 +0200
commitba1307b0ce37dd8f2f3be36da37d1d88de1fb70e (patch)
tree175dd8094496db2fe19b165425472ef10af8092f /engines
parent8335e340fd98bbef465a169bc7b043c15bd0243b (diff)
downloadscummvm-rg350-ba1307b0ce37dd8f2f3be36da37d1d88de1fb70e.tar.gz
scummvm-rg350-ba1307b0ce37dd8f2f3be36da37d1d88de1fb70e.tar.bz2
scummvm-rg350-ba1307b0ce37dd8f2f3be36da37d1d88de1fb70e.zip
SCI: Add kReadNumber fixme
Thanks to Walter for noticing this.
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kstring.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index c22d7c7b1e..c4db0b891c 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -165,6 +165,7 @@ reg_t kReadNumber(EngineState *s, int argc, reg_t *argv) {
// do clipping. In SQ4 we get the door code in here and that's even
// larger than uint32!
if (*source == '-') {
+ // FIXME: Setting result to -1 does _not_ negate the output.
result = -1;
source++;
}