Fix missed target -> position.
Introduced in fc04e849ca
.
Reported by: @wowgetoffyourcellphone.
This was SVN commit r27333.
This commit is contained in:
parent
e4ded1f971
commit
48ac0fecde
@ -115,7 +115,7 @@ var g_UnitActions =
|
||||
"formation": g_AutoFormation.getNull()
|
||||
});
|
||||
|
||||
DrawTargetMarker(target);
|
||||
DrawTargetMarker(position);
|
||||
|
||||
Engine.GuiInterfaceCall("PlaySound", {
|
||||
"name": "order_attack_move",
|
||||
@ -1893,12 +1893,12 @@ function isUndeletable(entState)
|
||||
return false;
|
||||
}
|
||||
|
||||
function DrawTargetMarker(target)
|
||||
function DrawTargetMarker(position)
|
||||
{
|
||||
Engine.GuiInterfaceCall("AddTargetMarker", {
|
||||
"template": g_TargetMarker.move,
|
||||
"x": target.x,
|
||||
"z": target.z
|
||||
"x": position.x,
|
||||
"z": position.z
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user