diff options
author | Max Horn | 2009-10-12 11:49:32 +0000 |
---|---|---|
committer | Max Horn | 2009-10-12 11:49:32 +0000 |
commit | ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1 (patch) | |
tree | d0fc140ff7436a18b5fc58e5f40189c858f7f50b /engines/sci/engine/seg_manager.cpp | |
parent | 250402f21bf95d36e543013112455c6e00eb1e23 (diff) | |
download | scummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.tar.gz scummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.tar.bz2 scummvm-rg350-ab1f2dac77448b848f1e736e6b8cc4162f6a5ec1.zip |
SCI: Fix warnings, cleanup
svn-id: r44978
Diffstat (limited to 'engines/sci/engine/seg_manager.cpp')
-rw-r--r-- | engines/sci/engine/seg_manager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index 5c9eb9141c..c318be21c9 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -855,7 +855,7 @@ List *SegManager::lookupList(reg_t addr) { } Node *SegManager::lookupNode(reg_t addr) { - if (!addr.offset && !addr.segment) + if (addr.isNull()) return NULL; // Non-error null if (getSegmentType(addr.segment) != SEG_TYPE_NODES) { |