From 0ff7519d0eacdd1256f4c260637e5fe11f411a9a Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 11 Jan 2006 19:14:57 +0000 Subject: Fix warnings. svn-id: r19986 --- saga/actor.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'saga') 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}; -- cgit v1.2.3