Fix bee targeting fail across wrap world edge
Previously, the bee always aimed for the light area, no matter where you actually put the target. It also got confused whenever it flew across the wrap world edge.
How the bee works now:
1) The placed bee target is *not* recalculated when it was placed in the "gray" part of the wrap world edge. This allows for more fine-tuning.
1a) Place target in light area: bee aims for target light area
1b) Place target in gray area: bee aims for target, but flies to gray area first
2) Bee target is recalculated whenever bee passes the wrap world edge.
Fix force-locked schemes getting unlocked when changing map types (
bug #378)
heh. apparently pas2c doesn't validate pascal, so I guess we need to dogfood *both*
From https://salsa.debian.org/games-team/hedgewars/blob/master/debian/patches/link-libatomic.patch
- Bots activate extra time if needed
- Refactor work with forecast of time needed to perform planned actions (ticks variable)
- Never consider a bot in inf attacks mode being in after attack mode, helps action in inf attack
- Also start thinking if TurnTimeLeft is bigger than default value