equal
deleted
inserted
replaced
1356 oY:= Gear^.Y; |
1356 oY:= Gear^.Y; |
1357 inc(Gear^.PortalCounter); |
1357 inc(Gear^.PortalCounter); |
1358 Gear^.Elasticity:= Gear^.X; |
1358 Gear^.Elasticity:= Gear^.X; |
1359 Gear^.Friction:= Gear^.Y; |
1359 Gear^.Friction:= Gear^.Y; |
1360 SpawnBulletTrail(Gear, Gear^.X, Gear^.Y, false); |
1360 SpawnBulletTrail(Gear, Gear^.X, Gear^.Y, false); |
|
1361 |
|
1362 // bullets can now hurt the hog that fired them |
|
1363 if WorldEdge <> weSea then Gear^.Data:= nil; |
1361 end; |
1364 end; |
1362 x := hwRound(Gear^.X); |
1365 x := hwRound(Gear^.X); |
1363 y := hwRound(Gear^.Y); |
1366 y := hwRound(Gear^.Y); |
1364 |
1367 |
1365 if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) then |
1368 if ((y and LAND_HEIGHT_MASK) = 0) and ((x and LAND_WIDTH_MASK) = 0) then |