diff options
author | Max Horn | 2006-11-19 00:39:48 +0000 |
---|---|---|
committer | Max Horn | 2006-11-19 00:39:48 +0000 |
commit | c210aff40cd832a1216f22a123b962856f7a9898 (patch) | |
tree | 19a2253b09d28e9f9dcae1b29ceb596a6c6860f3 /engines/scumm/he/script_v72he.cpp | |
parent | 378982899382e139a12ff4bc1a8e29c74abafca9 (diff) | |
download | scummvm-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_v72he.cpp')
-rw-r--r-- | engines/scumm/he/script_v72he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/he/script_v72he.cpp b/engines/scumm/he/script_v72he.cpp index c0dd431d4c..d6502d2ae4 100644 --- a/engines/scumm/he/script_v72he.cpp +++ b/engines/scumm/he/script_v72he.cpp @@ -1123,7 +1123,7 @@ void ScummEngine_v72he::o72_actorOps() { case 65: // HE 98+ j = pop(); i = pop(); - a->putActor(i, j, a->_room); + a->putActor(i, j); break; case 68: // HE 90+ k = pop(); @@ -1205,13 +1205,13 @@ void ScummEngine_v72he::o72_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()); @@ -1245,7 +1245,7 @@ void ScummEngine_v72he::o72_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; |