equal
deleted
inserted
replaced
494 DeleteGear(cGear) |
494 DeleteGear(cGear) |
495 |
495 |
496 if TestRectForObstacle(x-20, y-20, x+20, y+20, true) then |
496 if TestRectForObstacle(x-20, y-20, x+20, y+20, true) then |
497 AddCaption(loc("Please place the way-point in the open, within the map boundaries.")) |
497 AddCaption(loc("Please place the way-point in the open, within the map boundaries.")) |
498 PlaySound(sndDenied) |
498 PlaySound(sndDenied) |
|
499 elseif (y > WaterLine-50) then |
|
500 AddCaption(loc("Please place the way-point further from the waterline.")) |
|
501 PlaySound(sndDenied) |
499 else |
502 else |
500 PlaceWayPoint(x, y) |
503 PlaceWayPoint(x, y) |
501 if wpCount == wpLimit then |
504 if wpCount == wpLimit then |
502 AddCaption(loc("Race complexity limit reached.")) |
505 AddCaption(loc("Race complexity limit reached.")) |
503 DisableTumbler() |
506 DisableTumbler() |