From ee3df188729098fd27136cc5405e10d02823bf07 Mon Sep 17 00:00:00 2001 From: johns <> Date: Wed, 26 Apr 2000 23:03:50 +0000 Subject: [PATCH] burning buildings, gives burning sound if selected --- ui/mouse.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ui/mouse.cpp b/ui/mouse.cpp index cbd55fd3a..02e2ffa72 100644 --- a/ui/mouse.cpp +++ b/ui/mouse.cpp @@ -1093,6 +1093,9 @@ global void UIHandleButtonUp(int b) if( Selected[0]->Command.Action==UnitActionBuilded ) { //if( Selected[0]->Constructed ) PlayUnitSound(Selected[0],VoiceBuilding); + } else if( Selected[0]->Burning ) { + // FIXME: use GameSounds.Burning + PlayGameSound(SoundIdForName("burning"),MaxSampleVolume); } else if( Selected[0]->Player==ThisPlayer || Selected[0]->Player->Race==PlayerRaceNeutral ) { PlayUnitSound(Selected[0],VoiceSelected);