The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: ceeac on October 03, 2020, 08:23:01 AM

Title: Fix for active player status when creating a new map
Post by: ceeac on October 03, 2020, 08:23:01 AM
This is somewhat related to this (https://forum.simutrans.com/index.php/topic,20299.msg191413.html) thread.

When starting a new map while another one with AI players activated is running, the "active player" status is not reset.
To reproduce the bug:
Title: Re: Fix for active player status when creating a new map
Post by: Dwachs on October 03, 2020, 08:39:56 AM
In my opinion, settings.player_active is completely useless and should be removed. The active-state of each player is stored within player_t anyway. (also settings.player_type is close to useless)
Title: Re: Fix for active player status when creating a new map
Post by: Dwachs on October 03, 2020, 09:21:50 AM
removed this variable in r9260