aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-07-24 18:35:39 +0000
committerMartin Kiewitz2010-07-24 18:35:39 +0000
commite515bc56d1911f8931b7b0fce2a7e38ae3b29425 (patch)
treebf5ed8ccbb95030a52dc8e171b689772f8e8c7c0
parent252e7736e59cdb2c57aa3a67396327d8e82c7742 (diff)
downloadscummvm-rg350-e515bc56d1911f8931b7b0fce2a7e38ae3b29425.tar.gz
scummvm-rg350-e515bc56d1911f8931b7b0fce2a7e38ae3b29425.tar.bz2
scummvm-rg350-e515bc56d1911f8931b7b0fce2a7e38ae3b29425.zip
SCI: fix warning
svn-id: r51253
-rw-r--r--engines/sci/graphics/frameout.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 6f0aa1c428..fb0951502a 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -87,13 +87,6 @@ void GfxFrameout::kernelUpdatePlane(reg_t object) {
error("kUpdatePlane called on plane that wasn't added before");
}
- reg_t object;
- uint16 priority;
- GuiResourceId pictureId;
- GfxPicture *picture;
- uint16 lastPriority;
-
-
void GfxFrameout::kernelDeletePlane(reg_t object) {
for (PlaneList::iterator it = _planes.begin(); it != _planes.end(); it++) {
if (it->object == object) {
@@ -304,7 +297,7 @@ void GfxFrameout::kernelFrameout() {
} else if (itemEntry->viewId != 0xFFFF) {
GfxView *view = _cache->getView(itemEntry->viewId);
-// warning("view %s %d", _segMan->getObjectName(itemEntry->object), itemEntry->priority);
+// warning("view %s %04x:%04x", _segMan->getObjectName(itemEntry->object), PRINT_REG(itemEntry->object));
uint16 useInsetRect = readSelectorValue(_segMan, itemEntry->object, SELECTOR(useInsetRect));
if (useInsetRect) {