forked from 0ad/0ad
Add temporary capture cursor
This was SVN commit r16563.
This commit is contained in:
parent
885aec20dd
commit
6c7eb93e1c
BIN
binaries/data/mods/public/art/textures/cursors/action-capture.png
(Stored with Git LFS)
Normal file
BIN
binaries/data/mods/public/art/textures/cursors/action-capture.png
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
1 1
|
@ -103,8 +103,8 @@ var unitActions =
|
||||
},
|
||||
"actionCheck": function(target)
|
||||
{
|
||||
if (getActionInfo("capture", target).possible) // TODO find better cursor
|
||||
return {"type": "capture", "cursor": "action-attack", "target": target};
|
||||
if (getActionInfo("capture", target).possible)
|
||||
return {"type": "capture", "cursor": "action-capture", "target": target};
|
||||
return false;
|
||||
},
|
||||
"specificness": 9,
|
||||
|
Loading…
Reference in New Issue
Block a user