From f0424083877542ce0ccf827db648045caa8312c8 Mon Sep 17 00:00:00 2001 From: tankefugl Date: Wed, 1 Jun 2005 11:51:47 +0000 Subject: [PATCH] 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 --- main/source/mod/AvHHud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/source/mod/AvHHud.cpp b/main/source/mod/AvHHud.cpp index 9e8eac9..bc47fba 100644 --- a/main/source/mod/AvHHud.cpp +++ b/main/source/mod/AvHHud.cpp @@ -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), "", "", ""); }