From 9517bb80f6b807f1b7989f3cf1ce1d89d3385b6d Mon Sep 17 00:00:00 2001 From: johns <> Date: Thu, 27 Apr 2000 19:16:05 +0000 Subject: [PATCH] Fixed bug corpse dumps core with new heading code --- action/action_die.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/action/action_die.cpp b/action/action_die.cpp index 81517ee0d..86c8e4047 100644 --- a/action/action_die.cpp +++ b/action/action_die.cpp @@ -75,6 +75,7 @@ global int HandleActionDie(Unit* unit) } unit->NextCount=0; unit->SubAction=0; + unit->Frame=0; UnitUpdateHeading(unit); DebugCheck( !unit->Type->Animations || !unit->Type->Animations->Die ); UnitShowAnimation(unit,unit->Type->Animations->Die);