Merge pull request #4676 from cjshmyr/capturing-cursors
Swap cursors used for sabotaging and capturing buildings
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user