smite some compiler warnings, hide those that are to stay.

Hide some makefile output too
This commit is contained in:
alzeih
2010-07-22 01:24:42 +12:00
parent 55fd5c3b9b
commit 3f9ffbac80
7 changed files with 7 additions and 8 deletions

View File

@@ -28,7 +28,6 @@ namespace OpenRA.Traits
public void Damaged(Actor self, AttackInfo e)
{
var eva = self.World.WorldActor.Info.Traits.Get<EvaAlertsInfo>();
if (e.DamageState == DamageState.Dead)
if (self.Owner == self.World.LocalPlayer)
Sound.PlayVoice("Lost", self);