From 000a0cd73e25599716f2cce9619fc1f5cff65db0 Mon Sep 17 00:00:00 2001 From: tankefugl Date: Thu, 14 Apr 2005 21:37:04 +0000 Subject: [PATCH] Mantis 0001007: o Fixed bug where HUD notification of structure placements wouldn't show the icon. git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@80 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 736093db..76f3548a 100644 --- a/main/source/mod/AvHHud.cpp +++ b/main/source/mod/AvHHud.cpp @@ -2818,7 +2818,7 @@ int AvHHud::PlayHUDNot(const char* pszName, int iSize, void* pbuf) { // Push back icon HUDNotificationType theNotification; - theNotification.mStructureID = (AvHMessageID)message_id; + theNotification.mStructureID = (AvHMessageID)sound; theNotification.mTime = this->mTimeOfCurrentUpdate; theNotification.mLocation = Vector(location_x, location_y, 0.0f);