mirror of
https://github.com/ENSL/NS.git
synced 2024-11-22 20:51:35 +00:00
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:
parent
61941dbbae
commit
f042408387
1 changed files with 1 additions and 1 deletions
|
@ -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), "", "", "");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue