[Commits] [wesnoth/wesnoth] fa5b91: Add missing MP settings for reloaded games. Fixes ...

GitHub noreply at github.com
Sat Mar 22 13:06:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: fa5b916bf1240c20d3faccb4f3be59c00003433b
      https://github.com/wesnoth/wesnoth/commit/fa5b916bf1240c20d3faccb4f3be59c00003433b
  Author: Andrius Silinskas <silinskas.andrius at gmail.com>
  Date:   2014-03-22 (Sat, 22 Mar 2014)

  Changed paths:
    M changelog
    M src/mp_game_utils.cpp

  Log Message:
  -----------
  Add missing MP settings for reloaded games. Fixes #21808.

The problam was that mp::configure is not used for reloaded games and so
mp_game_settings will not be fully initialised. This leads to using default
values rather than values set using mp::configure screen or from reloaded game
config.

The optimal solution would be to either display mp::configure for reloaded games
or to populate mp_game_settings using reloaded game config. However, both
solutions require rather a lot of code restructing and are probably not suitable
for a feature freeze.





More information about the Commits mailing list