From b93da09d81a98d6783fffee37cb70a7103bc63cf Mon Sep 17 00:00:00 2001 From: johns <> Date: Wed, 28 Feb 2001 09:38:07 +0000 Subject: [PATCH] Attacking can cause a unit to rotate so it needs to be redrawn. (from Jimmy Salmon) --- src/action/action_attack.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/action/action_attack.cpp b/src/action/action_attack.cpp index c6566b703..985689c0f 100644 --- a/src/action/action_attack.cpp +++ b/src/action/action_attack.cpp @@ -304,6 +304,7 @@ local void MoveToTarget(Unit* unit) unit->State=0; if( !unit->Type->Tower ) { UnitHeadingFromDeltaXY(unit,goal->X-unit->X,goal->Y-unit->Y); + CheckUnitToBeDrawn(unit); } unit->SubAction++; #ifdef NEW_ORDERS