URL:
<http://gna.org/bugs/?20689>
Summary: Maxplayers setting gets set to number of game start
players when loading savegame
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 31 Mar 2013 02:30:10 AM EET
Category: general
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.5, 2.4.0, 2.5.0
_______________________________________________________
Details:
Split from bug #19474:
When loading savegame of running game, maxplayers setting gets set to number
of players in game.
This is because there's code meant to limit max_players in scenarios to number
of starting positions - there cannot be more players than starting positions.
That same code gets wrongly applied when one loads already started game with
generated starting positions. Number of generated starting positions is one
for each player who was present when game started -> maxplayers gets set to
number of game start players.
Attached fix makes maxplayer to be set to number of starting positions in
pregame only.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 31 Mar 2013 02:30:10 AM EET Name: RunningGameStartposCount.patch
Size: 3kB By: cazfi
<http://gna.org/bugs/download.php?file_id=17618>
-------------------------------------------------------
Date: Sun 31 Mar 2013 02:30:10 AM EET Name:
RunningGameStartposCount-S2_4.patch Size: 3kB By: cazfi
<http://gna.org/bugs/download.php?file_id=17619>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20689>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev