From ba1307b0ce37dd8f2f3be36da37d1d88de1fb70e Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Fri, 5 Oct 2012 16:40:57 +0200 Subject: SCI: Add kReadNumber fixme Thanks to Walter for noticing this. --- engines/sci/engine/kstring.cpp | 1 + 1 file changed, 1 insertion(+) 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++; } -- cgit v1.2.3