aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb/object.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2011-12-04 18:32:55 +0100
committerBertrand Augereau2011-12-04 18:32:55 +0100
commit26889c12432732174bb306285515959c24c4d140 (patch)
treea3273c2f5b457e4fb03801471f70838e5dc438de /engines/dreamweb/object.cpp
parenta201e1af336ae75f37fcb5216d2166d084bb0d0a (diff)
downloadscummvm-rg350-26889c12432732174bb306285515959c24c4d140.tar.gz
scummvm-rg350-26889c12432732174bb306285515959c24c4d140.tar.bz2
scummvm-rg350-26889c12432732174bb306285515959c24c4d140.zip
DREAMWEB: Removed 'icons1' and 'icons2' stubs
Diffstat (limited to 'engines/dreamweb/object.cpp')
-rw-r--r--engines/dreamweb/object.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index 4caeddfd1e..845b5fb69c 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -73,7 +73,7 @@ void DreamGenContext::obToInv() {
}
void DreamGenContext::obToInv(uint8 index, uint8 flag, uint16 x, uint16 y) {
- showFrame(icons1(), x - 2, y - 1, 10, 0);
+ showFrame(engine->icons1(), x - 2, y - 1, 10, 0);
if (index == 0xff)
return;
@@ -84,7 +84,7 @@ void DreamGenContext::obToInv(uint8 index, uint8 flag, uint16 x, uint16 y) {
const DynObject *object = (const DynObject *)getAnyAdDir(index, flag);
bool worn = isItWorn(object);
if (worn)
- showFrame(icons1(), x - 3, y - 2, 7, 0);
+ showFrame(engine->icons1(), x - 3, y - 2, 7, 0);
}
void DreamGenContext::obPicture() {
@@ -104,10 +104,10 @@ void DreamGenContext::obIcons() {
getAnyAd(&value1, &value2);
if (value1 != 0xff) {
// can open it
- showFrame(icons2(), 210, 1, 4, 0);
+ showFrame(engine->icons2(), 210, 1, 4, 0);
}
- showFrame(icons2(), 260, 1, 1, 0);
+ showFrame(engine->icons2(), 260, 1, 1, 0);
}
void DreamGenContext::examineOb(bool examineAgain) {