~widelands-dev/widelands/document_mine

Viewing all changes in revision 8225.

Merged lp:~widelands-dev/widelands/wood_gnome_infinite_trees:
When a player is defeated, it is removed from the 'plrs' array by the 'check_player_defeated'. This lead to this players points not being reset on recalculation, ergo on each calculation the player gained the number of trees currently on its terrain as points. A classical CS bug: Cache invalidation errors.

Also: no longer calculate score for a defeated player.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: