diff options
author | Filippos Karapetis | 2009-09-30 23:00:03 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-30 23:00:03 +0000 |
commit | 30084d72a5eaedbd22cc14aa6bb1f72a573944f0 (patch) | |
tree | 62ef54c07415979d47266fe02151a7d1095c428c /engines/sci/engine/kmovement.cpp | |
parent | 96a40e771207f4c3664f0271685fa8adfd9f299c (diff) | |
download | scummvm-rg350-30084d72a5eaedbd22cc14aa6bb1f72a573944f0.tar.gz scummvm-rg350-30084d72a5eaedbd22cc14aa6bb1f72a573944f0.tar.bz2 scummvm-rg350-30084d72a5eaedbd22cc14aa6bb1f72a573944f0.zip |
Added a new special reg_t, SIGNAL_REG, for signaling when an error occurs (usually), or to signal success in some special occasions
svn-id: r44505
Diffstat (limited to 'engines/sci/engine/kmovement.cpp')
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp index ad5851cd3d..3a21704469 100644 --- a/engines/sci/engine/kmovement.cpp +++ b/engines/sci/engine/kmovement.cpp @@ -401,7 +401,7 @@ reg_t kDoAvoider(EngineState *s, int argc, reg_t *argv) { int dx, dy; int destx, desty; - s->r_acc = make_reg(0, SIGNAL_OFFSET); + s->r_acc = SIGNAL_REG; if (!s->segMan->isHeapObject(avoider)) { warning("DoAvoider() where avoider %04x:%04x is not an object", PRINT_REG(avoider)); |