aboutsummaryrefslogtreecommitdiff
path: root/scumm/object.cpp
diff options
context:
space:
mode:
authorMax Horn2005-03-25 00:56:03 +0000
committerMax Horn2005-03-25 00:56:03 +0000
commit7ed1c19f6c46d46cd0fae4a505887675e8338e49 (patch)
treec81b4c7b54931126882a82a7d4094ac4c6b9e0d8 /scumm/object.cpp
parent88cf4e3c293a228d9778fa5ecda61c33f9b07613 (diff)
downloadscummvm-rg350-7ed1c19f6c46d46cd0fae4a505887675e8338e49.tar.gz
scummvm-rg350-7ed1c19f6c46d46cd0fae4a505887675e8338e49.tar.bz2
scummvm-rg350-7ed1c19f6c46d46cd0fae4a505887675e8338e49.zip
Cleanup: collect the C64 specific render data into a struct inside class Gdi
svn-id: r17224
Diffstat (limited to 'scumm/object.cpp')
-rw-r--r--scumm/object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index b535709a9e..c360e9de4e 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -481,11 +481,11 @@ void ScummEngine::drawObject(int obj, int arg) {
byte flags = od.flags;
if (_version == 1) {
- gdi._C64ObjectMode = true;
+ gdi._objectMode = true;
if (_features & GF_NES) {
gdi.decodeNESObject(ptr, xpos, ypos, width, height);
} else {
- gdi.decodeC64Gfx(ptr, gdi._C64ObjectMap, width * (height / 8) * 3);
+ gdi.decodeC64Gfx(ptr, gdi._C64.objectMap, width * (height / 8) * 3);
}
}
// Sam & Max needs this to fix object-layering problems with