Fix bad "not" in uTeams (made pas2c angry)
authorWuzzy <Wuzzy2@mail.ru>
Fri, 02 Nov 2018 13:19:38 +0100
changeset 14094 ff6e67066fd0
parent 14093 e54f9a85ccba
child 14095 a3506c6a4cbe
Fix bad "not" in uTeams (made pas2c angry)
hedgewars/uTeams.pas
--- a/hedgewars/uTeams.pas	Fri Nov 02 13:17:35 2018 +0100
+++ b/hedgewars/uTeams.pas	Fri Nov 02 13:19:38 2018 +0100
@@ -435,7 +435,7 @@
         NextClan:= false;
         end;
 
-    if ((GameFlags and gfSwitchHog) <> 0) and not(CurrentTeam^.hasGone) then
+    if ((GameFlags and gfSwitchHog) <> 0) and (not CurrentTeam^.hasGone) then
         begin
         g:= AddGear(hwRound(CurrentHedgehog^.Gear^.X), hwRound(CurrentHedgehog^.Gear^.Y), gtSwitcher, 0, _0, _0, 0);
         CurAmmoGear:= g;