Merge pull request #4676 from cjshmyr/capturing-cursors

Swap cursors used for sabotaging and capturing buildings
This commit is contained in:
Matthias Mailänder
2014-02-17 14:09:00 +01:00
2 changed files with 3 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ NEW:
A player's units, and allied units, now move out of the way when blocking production facilities.
Added cheat button to grow map resources.
Fixed units staying selected and contributing to control groups when becoming cloaked or hidden in fog.
Swapped the cursors used for sabotaging and capturing buildings/units.
Dune 2000:
Added the Atreides grenadier from the 1.06 patch.
Added randomized tiles for Sand and Rock terrain.

View File

@@ -102,7 +102,7 @@ namespace OpenRA.Mods.RA
var lowEnoughHealth = health.HP <= c.CaptureThreshold * health.MaxHP;
cursor = !sabotage || lowEnoughHealth || target.Owner.NonCombatant
? "capture" : "enter";
? "enter" : "capture";
return true;
}
@@ -119,7 +119,7 @@ namespace OpenRA.Mods.RA
var lowEnoughHealth = target.HP <= c.CaptureThreshold * health.HP;
cursor = !sabotage || lowEnoughHealth || target.Owner.NonCombatant
? "capture" : "enter";
? "enter" : "capture";
return true;
}