diff options
author | Filippos Karapetis | 2010-07-14 02:02:03 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-07-14 02:02:03 +0000 |
commit | 20e672e34dc7f4923fe9b107acbab6439c2fef08 (patch) | |
tree | 3157405ebca000fa82f4a3bb3e849d37f02077dc /engines/sci/engine/vm.cpp | |
parent | 2bfee401d225bb0c456eaf8041f166498b8665c0 (diff) | |
download | scummvm-rg350-20e672e34dc7f4923fe9b107acbab6439c2fef08.tar.gz scummvm-rg350-20e672e34dc7f4923fe9b107acbab6439c2fef08.tar.bz2 scummvm-rg350-20e672e34dc7f4923fe9b107acbab6439c2fef08.zip |
Typos
svn-id: r50862
Diffstat (limited to 'engines/sci/engine/vm.cpp')
-rw-r--r-- | engines/sci/engine/vm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/vm.cpp b/engines/sci/engine/vm.cpp index bef8658438..08645c1dd0 100644 --- a/engines/sci/engine/vm.cpp +++ b/engines/sci/engine/vm.cpp @@ -1221,8 +1221,8 @@ void run_vm(EngineState *s, bool restoring) { s->r_acc = make_reg(0, (r_temp.segment == s->r_acc.segment) && r_temp.offset > s->r_acc.offset); } else if (r_temp.segment && !s->r_acc.segment) { if (s->r_acc.offset >= 1000) - error("[VM] op_gt: comparsion between a pointer and number"); - // Pseudo-WORKAROUND: sierra allows any pointer <-> value comparsion + error("[VM] op_gt: comparison between a pointer and number"); + // Pseudo-WORKAROUND: Sierra allows any pointer <-> value comparison // Happens in SQ1, room 28, when throwing the water at Orat s->r_acc = make_reg(0, 1); } else @@ -1251,8 +1251,8 @@ void run_vm(EngineState *s, bool restoring) { s->r_acc = make_reg(0, (r_temp.segment == s->r_acc.segment) && r_temp.offset < s->r_acc.offset); } else if (r_temp.segment && !s->r_acc.segment) { if (s->r_acc.offset >= 1000) - error("[VM] op_lt: comparsion between a pointer and number"); - // Pseudo-WORKAROUND: sierra allows any pointer <-> value comparsion + error("[VM] op_lt: comparison between a pointer and number"); + // Pseudo-WORKAROUND: Sierra allows any pointer <-> value comparison // Happens in SQ1, room 58, when giving id-card to robot s->r_acc = make_reg(0, 1); } else |