aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2012-07-05 14:05:26 +0300
committerFilippos Karapetis2012-07-05 14:05:26 +0300
commit112f03390d308af60d9c5f5e9f29c30988d2e968 (patch)
treefe435b776a2630b0606a823ca1fc06e2fccf6cc5 /engines/sci
parent4ced5ccf306450bc4b0bd6afd66b5bc7bec1e814 (diff)
downloadscummvm-rg350-112f03390d308af60d9c5f5e9f29c30988d2e968.tar.gz
scummvm-rg350-112f03390d308af60d9c5f5e9f29c30988d2e968.tar.bz2
scummvm-rg350-112f03390d308af60d9c5f5e9f29c30988d2e968.zip
SCI: Fix typo
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/frameout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 31ad7a50aa..20b8a241aa 100644
--- a/engines/sci/graphics/frameout.cpp
+++ b/engines/sci/graphics/frameout.cpp
@@ -295,7 +295,7 @@ reg_t GfxFrameout::addPlaneLine(reg_t object, Common::Point startPoint, Common::
void GfxFrameout::updatePlaneLine(reg_t object, reg_t hunkId, Common::Point startPoint, Common::Point endPoint, byte color, byte priority, byte control) {
// Check if we're asked to update a line that was never added
- if (object.isNull())
+ if (hunkId.isNull())
return;
for (PlaneList::iterator it = _planes.begin(); it != _planes.end(); ++it) {
@@ -316,7 +316,7 @@ void GfxFrameout::updatePlaneLine(reg_t object, reg_t hunkId, Common::Point star
void GfxFrameout::deletePlaneLine(reg_t object, reg_t hunkId) {
// Check if we're asked to delete a line that was never added (happens during the intro of LSL6)
- if (object.isNull())
+ if (hunkId.isNull())
return;
for (PlaneList::iterator it = _planes.begin(); it != _planes.end(); ++it) {