This is a fix to the bug "Worldmap Does Not Scroll". ( The worldmap didn't scroll to the right on the game startup if the Pingu was standing on the level "One must prepare, the rest must follow". This caused pingu and pingu's location to be invisible to user, untill pingu was moved on the visible area, after which the scroll started to work again. )
The problem was that worldmap was asked to scroll to the right edge of the map, but it was asked to scroll a bit too much, outside the limits. There is a check function which denied scrolling if scrolling target was outside the limits. In such case no action for scrolling was made and old scroll position was kept. I fixed this by adjusting the check code to commit the scroll in such cases, but not where the scroll was asked to move (as that would cause problems in normal game area), but instead it will now scroll to the very limit, as close to the target as it is allowed. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
worldmap_scroll_patch
Description: 3571110718-worldmap_scroll_patch
_______________________________________________ Pingus-Devel mailing list Pingus-Devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/pingus-devel