aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladimir Menshakov2011-06-12 02:11:10 +0400
committerAlyssa Milburn2011-06-15 17:34:15 +0200
commit4ccd7fd791e117117034925870dc4db2bfdad7b3 (patch)
tree826b0d38cfa9cfdfca88e34458acd26b888209af
parentf7b56a0d94bcf710ca52292577457a999d2a9fa8 (diff)
downloadscummvm-rg350-4ccd7fd791e117117034925870dc4db2bfdad7b3.tar.gz
scummvm-rg350-4ccd7fd791e117117034925870dc4db2bfdad7b3.tar.bz2
scummvm-rg350-4ccd7fd791e117117034925870dc4db2bfdad7b3.zip
DREAMWEB: fixed l/le/g/ge condition checks
-rw-r--r--engines/dreamweb/runtime.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h
index b08d564b8e..9890f950b6 100644
--- a/engines/dreamweb/runtime.h
+++ b/engines/dreamweb/runtime.h
@@ -167,10 +167,10 @@ struct Flags {
inline bool c() const { return _c; }
inline bool s() const { return _s; }
//complex flags:
- inline bool g() const { return !_z && _s == _o; }
- inline bool ge() const { return _s == _o; }
- inline bool l() const { return _s != _o; }
- inline bool le() const { return _z || _s != _o; }
+ inline bool g() const { return !_z && _o; }
+ inline bool ge() const { return _o; }
+ inline bool l() const { return !_o; }
+ inline bool le() const { return _z || !_o; }
inline void update(uint8 v) {
_s = v & 0x80;