[Scummvm-cvs-logs] scummvm master -> 112f03390d308af60d9c5f5e9f29c30988d2e968
bluegr
md5 at scummvm.org
Thu Jul 5 13:06:59 CEST 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
112f03390d SCI: Fix typo
Commit: 112f03390d308af60d9c5f5e9f29c30988d2e968
https://github.com/scummvm/scummvm/commit/112f03390d308af60d9c5f5e9f29c30988d2e968
Author: Filippos Karapetis (md5 at scummvm.org)
Date: 2012-07-05T04:05:26-07:00
Commit Message:
SCI: Fix typo
Changed paths:
engines/sci/graphics/frameout.cpp
diff --git a/engines/sci/graphics/frameout.cpp b/engines/sci/graphics/frameout.cpp
index 31ad7a5..20b8a24 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) {
More information about the Scummvm-git-logs
mailing list