aboutsummaryrefslogtreecommitdiff
path: root/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'actor.cpp')
-rw-r--r--actor.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/actor.cpp b/actor.cpp
index 25e4296816..1cc13c08dd 100644
--- a/actor.cpp
+++ b/actor.cpp
@@ -25,22 +25,6 @@
#include "math.h"
void Scumm::initActor(Actor *a, int mode) {
- if (a->init != 1) { /* Check if this is the first time we've */
- a->costume = 0; /* used this actor. If so, init everything */
- a->room = 0;
- a->x = a->y = 0;
- a->facing = 0;
- a->newDirection = 0;
- a->visible = 0;
- a->mask = 0;
- a->walkbox = 0;
- a->animProgress = a->animSpeed = 0;
- a->layer = 0;
-
- a->init = 1;
- }
-
-
if (mode==1) {
a->costume = 0;
a->room = 0;