aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--saga/actor.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/saga/actor.cpp b/saga/actor.cpp
index 6f906b565d..11ab2834a0 100644
--- a/saga/actor.cpp
+++ b/saga/actor.cpp
@@ -960,13 +960,17 @@ int Actor::getFrameType(ActorFrameTypes frameType) {
return kFrameIHNMGesture;
case kFrameWait:
return kFrameIHNMWait;
+ case kFrameGive:
+ case kFramePickUp:
+ case kFrameLook:
+ error("Actor::getFrameType() unknown frame type %d", frameType);
+ return kFrameIHNMStand;
}
}
error("Actor::getFrameType() unknown frame type %d", frameType);
}
ActorFrameRange *Actor::getActorFrameRange(uint16 actorId, int frameType) {
- ActorFrameRange * fr = NULL;
ActorData *actor;
int fourDirection;
static ActorFrameRange def = {0, 0};