equal
deleted
inserted
replaced
1347 (CurAmmoGear <> nil) and (CurAmmoGear^.Kind =gtRope) and (CurAmmoGear^.Elasticity <> _0) then |
1347 (CurAmmoGear <> nil) and (CurAmmoGear^.Kind =gtRope) and (CurAmmoGear^.Elasticity <> _0) then |
1348 CurAmmoGear^.PortalCounter:= 1; |
1348 CurAmmoGear^.PortalCounter:= 1; |
1349 if (WorldEdge = weWrap) and ((TestCollisionXwithGear(Gear, 1) <> 0) or (TestCollisionXwithGear(Gear, -1) <> 0)) then |
1349 if (WorldEdge = weWrap) and ((TestCollisionXwithGear(Gear, 1) <> 0) or (TestCollisionXwithGear(Gear, -1) <> 0)) then |
1350 begin |
1350 begin |
1351 Gear^.X:= tX; |
1351 Gear^.X:= tX; |
1352 Gear^.dX.isNegative:= (hwRound(tX) > leftX+Gear^.Radius*2) |
1352 Gear^.dX.isNegative:= (hwRound(tX) > LongInt(leftX) + Gear^.Radius * 2) |
1353 end |
1353 end |
1354 end; |
1354 end; |
1355 |
1355 |
1356 CheckSum:= CheckSum xor Gear^.Hedgehog^.BotLevel; |
1356 CheckSum:= CheckSum xor Gear^.Hedgehog^.BotLevel; |
1357 if (Gear^.Message and gmDestroy) <> 0 then |
1357 if (Gear^.Message and gmDestroy) <> 0 then |