diff options
author | Eugene Sandulenko | 2006-01-11 19:14:57 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-01-11 19:14:57 +0000 |
commit | 0ff7519d0eacdd1256f4c260637e5fe11f411a9a (patch) | |
tree | 02cb5810c21849cc5bfcb2b388993f01601494ba /saga | |
parent | 6bc871969140289862de340016411e20ef11201a (diff) | |
download | scummvm-rg350-0ff7519d0eacdd1256f4c260637e5fe11f411a9a.tar.gz scummvm-rg350-0ff7519d0eacdd1256f4c260637e5fe11f411a9a.tar.bz2 scummvm-rg350-0ff7519d0eacdd1256f4c260637e5fe11f411a9a.zip |
Fix warnings.
svn-id: r19986
Diffstat (limited to 'saga')
-rw-r--r-- | saga/actor.cpp | 6 |
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}; |