infantry deaths (handled by Corpse effect)

This commit is contained in:
Chris Forbes
2009-12-17 15:46:50 +13:00
parent 942cb08f51
commit 997ddecc03
9 changed files with 98 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
using System;
using System.Collections.Generic;
using OpenRa.Game.Graphics;
using OpenRa.Game.GameRules;
namespace OpenRa.Game.Traits
{
@@ -37,7 +38,7 @@ namespace OpenRa.Game.Traits
public void Damaged(Actor self, DamageState ds) { currentDs = ds; }
public void Damaged(Actor self, int damage)
public void Damaged(Actor self, int damage, WarheadInfo warhead)
{
if (currentDs != DamageState.Half) return;
if (!isSmoking)