aboutsummaryrefslogtreecommitdiff
path: root/scumm/actor.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-07-05 06:25:01 +0000
committerTravis Howell2004-07-05 06:25:01 +0000
commit40fa690de06716055b93f2a0dae49f6d889aa6f6 (patch)
tree7bcaf51adf0469c665ef86c89840d0633257d42c /scumm/actor.cpp
parent510d9c847f31c0a7c5f69c7b0487da4d53eab671 (diff)
downloadscummvm-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.cpp11
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;