diff options
author | Walter van Niftrik | 2010-01-24 17:52:27 +0000 |
---|---|---|
committer | Walter van Niftrik | 2010-01-24 17:52:27 +0000 |
commit | 10da245619c520791430147ce0229824c53083cf (patch) | |
tree | 886a22cc258d0ef03c91468c5f8070146f058f04 /engines/sci/engine/segment.h | |
parent | 414eadfb2aec530b21f0773ed6657017b650876f (diff) | |
download | scummvm-rg350-10da245619c520791430147ce0229824c53083cf.tar.gz scummvm-rg350-10da245619c520791430147ce0229824c53083cf.tar.bz2 scummvm-rg350-10da245619c520791430147ce0229824c53083cf.zip |
SCI: Cleanup
svn-id: r47506
Diffstat (limited to 'engines/sci/engine/segment.h')
-rw-r--r-- | engines/sci/engine/segment.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/segment.h b/engines/sci/engine/segment.h index 9e65186c31..a1967f6bb8 100644 --- a/engines/sci/engine/segment.h +++ b/engines/sci/engine/segment.h @@ -47,7 +47,7 @@ struct SegmentRef { SegmentRef() : isRaw(true), raw(0), maxSize(0) {} - bool isValid() const { return raw != 0; } + bool isValid() const { return (isRaw ? raw != 0 : reg != 0); } }; |