changeset 15762 | 0a172cfe8840 |
parent 15761 | 94f4d0a96143 |
child 16043 | e66feb918d71 |
--- a/hedgewars/uAI.pas Thu Sep 10 09:30:41 2020 +0200 +++ b/hedgewars/uAI.pas Wed Oct 07 23:06:34 2020 +0200 @@ -109,6 +109,7 @@ aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0); aiGravity:= cGravity; aiGravityf:= cGravityf; +aiHogsInTeam:= CountHogsInTeam(Me, true); hasLowGrav:= HHHasAmmo(Me^.Hedgehog^, amLowGravity) > 0; useThisActions:= false; Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged);