diff options
author | Filippos Karapetis | 2011-12-25 22:11:27 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-25 22:11:27 +0200 |
commit | bdded1ce12212e092452a7b4943e99cad4c16a14 (patch) | |
tree | 3875c59040ca600c6628d0d6ae6233c645097f69 /engines/dreamweb | |
parent | 95c9a6d8cd93b7cbe921e391f207450f6082d99a (diff) | |
download | scummvm-rg350-bdded1ce12212e092452a7b4943e99cad4c16a14.tar.gz scummvm-rg350-bdded1ce12212e092452a7b4943e99cad4c16a14.tar.bz2 scummvm-rg350-bdded1ce12212e092452a7b4943e99cad4c16a14.zip |
DREAMWEB: The ASM-style version of getEitherAd() is no longer needed
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 13 | ||||
-rw-r--r-- | engines/dreamweb/dreamgen.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index f71ced9057..0dffe56c2a 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -303,19 +303,6 @@ void DreamGenContext::getExAd() { _add(bx, (0+2080+30000)); } -void DreamGenContext::getEitherAd() { - STACK_CHECK; - _cmp(data.byte(kObjecttype), 4); - if (flags.z()) - goto isinexlist; - al = data.byte(kItemframe); - getFreeAd(); - return; -isinexlist: - al = data.byte(kItemframe); - getExAd(); -} - void DreamGenContext::getAnyAd() { STACK_CHECK; _cmp(data.byte(kObjecttype), 4); diff --git a/engines/dreamweb/dreamgen.h b/engines/dreamweb/dreamgen.h index 7247bedf74..0f6bfc0a48 100644 --- a/engines/dreamweb/dreamgen.h +++ b/engines/dreamweb/dreamgen.h @@ -465,7 +465,6 @@ public: void rollEm(); void findAllOpen(); void fillOpen(); - void getEitherAd(); void dreamweb(); void findPathOfPoint(); void read(); |