diff options
author | Martin Kiewitz | 2010-07-10 19:58:25 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-10 19:58:25 +0000 |
commit | 5c2489f1533067dcfe303496055e63e8c8d7c189 (patch) | |
tree | 943fbb3aa9627b6b39d8657b3fbd5044d5ab3a5e /engines/sci/engine/kmath.cpp | |
parent | 8b112704b2e840c6b0f789d527c6bc79fcc9c7e9 (diff) | |
download | scummvm-rg350-5c2489f1533067dcfe303496055e63e8c8d7c189.tar.gz scummvm-rg350-5c2489f1533067dcfe303496055e63e8c8d7c189.tar.bz2 scummvm-rg350-5c2489f1533067dcfe303496055e63e8c8d7c189.zip |
SCI: removing hoyle workaround from kAbs & signature and adding it into workaround table
svn-id: r50790
Diffstat (limited to 'engines/sci/engine/kmath.cpp')
-rw-r--r-- | engines/sci/engine/kmath.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/engine/kmath.cpp b/engines/sci/engine/kmath.cpp index a7baf72b65..eab964d624 100644 --- a/engines/sci/engine/kmath.cpp +++ b/engines/sci/engine/kmath.cpp @@ -36,12 +36,6 @@ reg_t kRandom(EngineState *s, int argc, reg_t *argv) { } reg_t kAbs(EngineState *s, int argc, reg_t *argv) { - if (g_sci->getGameId() == GID_HOYLE1) { - // This is a hack, but so is the code in Hoyle1 that needs it. - // FIXME: where is this exactly needed? - if (argv[0].segment) - return make_reg(0, 0x3e9); // Yes people, this is an object - } return make_reg(0, abs(argv[0].toSint16())); } |