aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v60he.cpp
diff options
context:
space:
mode:
authorMax Horn2006-11-19 00:39:48 +0000
committerMax Horn2006-11-19 00:39:48 +0000
commitc210aff40cd832a1216f22a123b962856f7a9898 (patch)
tree19a2253b09d28e9f9dcae1b29ceb596a6c6860f3 /engines/scumm/he/script_v60he.cpp
parent378982899382e139a12ff4bc1a8e29c74abafca9 (diff)
downloadscummvm-rg350-c210aff40cd832a1216f22a123b962856f7a9898.tar.gz
scummvm-rg350-c210aff40cd832a1216f22a123b962856f7a9898.tar.bz2
scummvm-rg350-c210aff40cd832a1216f22a123b962856f7a9898.zip
* Made Actor::_pos protected, added public Actor::getPos() method
* Added default params to Actor::putActor() * Removed Actor::getActorXYPos svn-id: r24742
Diffstat (limited to 'engines/scumm/he/script_v60he.cpp')
-rw-r--r--engines/scumm/he/script_v60he.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/he/script_v60he.cpp b/engines/scumm/he/script_v60he.cpp
index 59c28bc057..ba38509d99 100644
--- a/engines/scumm/he/script_v60he.cpp
+++ b/engines/scumm/he/script_v60he.cpp
@@ -712,13 +712,13 @@ void ScummEngine_v60he::o60_actorOps() {
a->_ignoreBoxes = 1;
a->_forceClip = 0;
if (a->isInCurrentRoom())
- a->putActor(a->_pos.x, a->_pos.y, a->_room);
+ a->putActor();
break;
case 96: // SO_FOLLOW_BOXES
a->_ignoreBoxes = 0;
a->_forceClip = 0;
if (a->isInCurrentRoom())
- a->putActor(a->_pos.x, a->_pos.y, a->_room);
+ a->putActor();
break;
case 97: // SO_ANIMATION_SPEED
a->setAnimSpeed(pop());
@@ -748,7 +748,7 @@ void ScummEngine_v60he::o60_actorOps() {
a->initActor(2);
break;
case 218:
- a->drawActorToBackBuf(a->_pos.x, a->_pos.y);
+ a->drawActorToBackBuf(a->getPos().x, a->getPos().y);
break;
case 219:
a->_drawToBackBuf = false;