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

GitHub noreply at github.com
Sat Mar 22 13:21:08 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 52e7d96ba26d1bb7b56461a42da189fb6532aae0
      https://github.com/wesnoth/wesnoth/commit/52e7d96ba26d1bb7b56461a42da189fb6532aae0
  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