changeset 551:3b4a24fcd5a0

Actor::UpdateAnimation fix
author Nomad
date Mon, 04 Mar 2013 20:28:08 +0200
parents 5196a51cc9ec
children bee46636df95
files Actor.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Actor.cpp	Sat Mar 02 01:37:06 2013 +0200
+++ b/Actor.cpp	Mon Mar 04 20:28:08 2013 +0200
@@ -3882,6 +3882,9 @@
         uCurrentActionAnimation = ANIM_Dead;
     break;
 
+    case Removed:
+      return;
+
     default:
       assert(false);
   }