Mantis 0001054:

o Fixed bug where the order popup would display upon order completion.

Added a check to inOrder.GetOrderActive() so that the order would only be displayed when flagged active, not upon completion.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@155 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
tankefugl 2005-06-01 11:51:47 +00:00
parent 61941dbbae
commit f042408387

View file

@ -2089,7 +2089,7 @@ void AvHHud::OrderNotification(const AvHOrder& inOrder)
this->PlayHUDSound(theSound);
// tankefugl: 0000992 | 0001052
if (thePopup && (this->GetInTopDownMode() == false))
if (thePopup && (this->GetInTopDownMode() == false) && (inOrder.GetOrderActive()))
{
this->SetDisplayOrder(2, this->GetFrameForOrderType(theOrderType), "", "", "");
}