equal
deleted
inserted
replaced
107 BotLevel:= Me^.Hedgehog^.BotLevel; |
107 BotLevel:= Me^.Hedgehog^.BotLevel; |
108 aiWindSpeed:= hwFloat2Float(cWindSpeed); |
108 aiWindSpeed:= hwFloat2Float(cWindSpeed); |
109 aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0); |
109 aiLaserSighting:= (cLaserSighting) or (HHHasAmmo(Me^.Hedgehog^, amLaserSight) > 0); |
110 aiGravity:= cGravity; |
110 aiGravity:= cGravity; |
111 aiGravityf:= cGravityf; |
111 aiGravityf:= cGravityf; |
|
112 aiHogsInTeam:= CountHogsInTeam(Me, true); |
112 hasLowGrav:= HHHasAmmo(Me^.Hedgehog^, amLowGravity) > 0; |
113 hasLowGrav:= HHHasAmmo(Me^.Hedgehog^, amLowGravity) > 0; |
113 useThisActions:= false; |
114 useThisActions:= false; |
114 Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged); |
115 Me^.AIHints:= Me^.AIHints and (not aihAmmosChanged); |
115 |
116 |
116 for l:= 0 to 1 do // 0 = test with normal gravity. 1 = test with low gravity |
117 for l:= 0 to 1 do // 0 = test with normal gravity. 1 = test with low gravity |