Submitted by matthiaskrgr
Take a look at the attached screenshot.
When I click at the position of the blue cross, a new waypoint is spawned for tux, he starts directly walking towards it.
Between the destined area and the current position of Tux lays a teleporter. Tux will step into that teleporter and get teleported to another level while trying to reach the waypoint.
The problem is that now the waypoint is not rejected but transferred to the 'new' level, Tux is still walking towards the waypoint. However, the teleporter may have put tux anywhere on the new map, whereas the WP is spawned at the same position on the new map as it formerly was on the old map. Tux directly continues walking towards the WP and just walks through wall or enemies, directly towards the WP.
I don't know what happens if the WP cannot be placed on the respective position on the 'new' map because the new map does not provide the same map size (will the WP be spawned beyond any level?).
However I think that when tux teleports, the WP should be reset to the current position (the point that tux is placed on after teleporting)
Currently it may also happen that if Tux continues walking, he may also walk into the fromXtoY teleporter again and than into the fromYtoX again, thus is stuck in teleportation (I didn't observer this yet, it's just a theory).
revision 3804
|