diff options
author | Travis Howell | 2004-07-05 06:25:01 +0000 |
---|---|---|
committer | Travis Howell | 2004-07-05 06:25:01 +0000 |
commit | 40fa690de06716055b93f2a0dae49f6d889aa6f6 (patch) | |
tree | 7bcaf51adf0469c665ef86c89840d0633257d42c /scumm/actor.cpp | |
parent | 510d9c847f31c0a7c5f69c7b0487da4d53eab671 (diff) | |
download | scummvm-rg350-40fa690de06716055b93f2a0dae49f6d889aa6f6.tar.gz scummvm-rg350-40fa690de06716055b93f2a0dae49f6d889aa6f6.tar.bz2 scummvm-rg350-40fa690de06716055b93f2a0dae49f6d889aa6f6.zip |
Merge into new function.
svn-id: r14170
Diffstat (limited to 'scumm/actor.cpp')
-rw-r--r-- | scumm/actor.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp index 280d7338a5..60d577daee 100644 --- a/scumm/actor.cpp +++ b/scumm/actor.cpp @@ -806,6 +806,17 @@ void ScummEngine::setTalkingActor(int value) { VAR(VAR_TALK_ACTOR) = value; } +void ScummEngine::putActors() { + Actor *a; + int i; + + for (i = 1; i < _numActors; i++) { + a = &_actors[i]; + if (a && a->isInCurrentRoom()) + a->putActor(a->_pos.x, a->_pos.y, a->room); + } +} + void ScummEngine::showActors() { int i; |