unit lost sound when local player's units die
This commit is contained in:
@@ -98,6 +98,9 @@ namespace OpenRa.Game
|
||||
|
||||
Game.world.AddFrameEndTask(w => w.Remove(this));
|
||||
|
||||
if (Owner == Game.LocalPlayer)
|
||||
Game.PlaySound("unitlst1.aud", false);
|
||||
|
||||
/* todo: explosion */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace OpenRa.Game
|
||||
public static WorldRenderer worldRenderer;
|
||||
public static Controller controller;
|
||||
|
||||
static int localPlayerIndex = 0;
|
||||
static int localPlayerIndex = 1;
|
||||
|
||||
public static Dictionary<int, Player> players = new Dictionary<int, Player>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user