Add heal order sound.

This was SVN commit r11885.
This commit is contained in:
leper 2012-05-19 18:27:00 +00:00
parent 7be67fe6b7
commit 6cc98a6763
3 changed files with 3 additions and 4 deletions

View File

@ -1277,8 +1277,7 @@ function doAction(action, ev)
case "heal":
Engine.PostNetworkCommand({"type": "heal", "entities": selection, "target": action.target, "queued": queued});
// TODO: Play a sound?
// Engine.GuiInterfaceCall("PlaySound", { "name": "order_heal", "entity": selection[0] });
Engine.GuiInterfaceCall("PlaySound", { "name": "order_heal", "entity": selection[0] });
return true;
case "build": // (same command as repair)

View File

@ -19,7 +19,7 @@
<order_attack>voice/hellenes/civ/female/civ_female_go_out_against.xml</order_attack>
<order_gather>voice/hellenes/civ/female/civ_female_gather_together.xml</order_gather>
<order_repair>voice/hellenes/civ/female/civ_female_retreat.xml</order_repair>
<!-- <order_heal>voice/hellenes/civ/female/civ_female_heal.xml</order_heal> -->
<order_heal>voice/hellenes/civ/female/civ_female_heal.xml</order_heal>
<!-- <death>voice/hellenes/civ/female/civ_female_death.xml</death> -->
</SoundGroups>
</Sound>

View File

@ -18,7 +18,7 @@
<order_attack>voice/hellenes/civ/female/civ_female_go_out_against.xml</order_attack>
<order_gather>voice/hellenes/civ/female/civ_female_gather_together.xml</order_gather>
<order_repair>voice/hellenes/civ/female/civ_female_retreat.xml</order_repair>
<!-- <order_heal>voice/hellenes/civ/female/civ_female_heal.xml</order_heal> -->
<order_heal>voice/hellenes/civ/female/civ_female_heal.xml</order_heal>
<!-- <death>voice/hellenes/civ/female/civ_female_death.xml</death> -->
</SoundGroups>
</Sound>