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()
|
"formation": g_AutoFormation.getNull()
|
||||||
});
|
});
|
||||||
|
|
||||||
DrawTargetMarker(target);
|
DrawTargetMarker(position);
|
||||||
|
|
||||||
Engine.GuiInterfaceCall("PlaySound", {
|
Engine.GuiInterfaceCall("PlaySound", {
|
||||||
"name": "order_attack_move",
|
"name": "order_attack_move",
|
||||||
@ -1893,12 +1893,12 @@ function isUndeletable(entState)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function DrawTargetMarker(target)
|
function DrawTargetMarker(position)
|
||||||
{
|
{
|
||||||
Engine.GuiInterfaceCall("AddTargetMarker", {
|
Engine.GuiInterfaceCall("AddTargetMarker", {
|
||||||
"template": g_TargetMarker.move,
|
"template": g_TargetMarker.move,
|
||||||
"x": target.x,
|
"x": position.x,
|
||||||
"z": target.z
|
"z": position.z
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user