News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Fix for active player status when creating a new map

Started by ceeac, October 03, 2020, 08:23:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ceeac

This is somewhat related to this 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:

  • Load a map with AI players active or start a new map and activate AI players
  • Start a new map using the "new world" dialogue
  • Save
  • Close the game
  • Reload previous save
  • Save
  • Compare the two saves

Dwachs

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)
Parsley, sage, rosemary, and maggikraut.

Dwachs

Parsley, sage, rosemary, and maggikraut.