--- a/hedgewars/uCollisions.pas Sun Jul 05 14:53:44 2020 +0200
+++ b/hedgewars/uCollisions.pas Sun Jul 05 18:37:29 2020 +0300
@@ -375,9 +375,9 @@
function UpdateHitOrder(Gear: PGear; Order: LongInt; Global: boolean): boolean; inline;
begin
if Global then
- UpdateHitOrder := UpdateHitOrderImpl(@ordera, Gear, Order)
+ UpdateHitOrder := UpdateHitOrderImpl(@globalordera, Gear, Order)
else
- UpdateHitOrder := UpdateHitOrderImpl(@globalordera, Gear, Order)
+ UpdateHitOrder := UpdateHitOrderImpl(@ordera, Gear, Order)
end;
function UpdateGlobalHitOrder(Gear: PGear; Order: LongInt): boolean; inline;