diff options
author | Filippos Karapetis | 2011-12-07 01:42:35 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-07 01:51:11 +0200 |
commit | 8b4a1625ea4e6d77ab4ce7654e936ab165b3d112 (patch) | |
tree | 0526633dec2c44d363123fce5226d145e38daea9 /engines/dreamweb/stubs.cpp | |
parent | 54c4bac556ff96c44e81816faa35bee87c91e57a (diff) | |
download | scummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.tar.gz scummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.tar.bz2 scummvm-rg350-8b4a1625ea4e6d77ab4ce7654e936ab165b3d112.zip |
DREAMWEB: Added a C++ implementation of isSetObOnMap()
Diffstat (limited to 'engines/dreamweb/stubs.cpp')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 243e164982..af1250af48 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -3821,4 +3821,12 @@ void DreamGenContext::moreTalk() { doSomeTalk(); } +bool DreamGenContext::isSetObOnMap(uint8 index) { + return (getSetAd(index)->mapad[0] == 0); +} + +void DreamGenContext::isSetObOnMap() { + flags._z = isSetObOnMap(al); +} + } // End of namespace DreamGen |