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/string.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/string.cpp')
-rw-r--r-- | engines/scumm/string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 58bcc0b82d..b4cd07750e 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -432,8 +432,8 @@ void ScummEngine::CHARSET_1() { if (a && _string[0].overhead != 0) { int s; - _string[0].xpos = a->_pos.x - virtscr[0].xstart; - _string[0].ypos = a->_pos.y - a->getElevation() - _screenTop; + _string[0].xpos = a->getPos().x - virtscr[0].xstart; + _string[0].ypos = a->getPos().y - a->getElevation() - _screenTop; if (_game.version <= 5) { |