[Commits] [wesnoth/wesnoth] f47de9: check lobby_sounds preference for the GUI 1 lobby ...

GitHub noreply at github.com
Mon Jul 14 06:15:32 UTC 2014


  Branch: refs/heads/1.12
  Home:   https://github.com/wesnoth/wesnoth
  Commit: f47de95341c8569248fdbf988e64891d7f498e6c
      https://github.com/wesnoth/wesnoth/commit/f47de95341c8569248fdbf988e64891d7f498e6c
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-14 (Mon, 14 Jul 2014)

  Changed paths:
    M src/multiplayer_ui.cpp

  Log Message:
  -----------
  check lobby_sounds preference for the GUI 1 lobby also

This fixes a bug reported on forums here:
http://forums.wesnoth.org/viewtopic.php?f=4&t=40660#p572131

The lobby sounds pref now affects the GUI 1 and 2 mp lobbies,
but it only affects the lobby screen, not mp::wait or mp::connect
etc.

This check is implemented by trying to dynamic cast 'this' mp::ui
object to a mp::lobby, at the time when we would play the arrive
or leave sounds.

The lobby sounds pref does *not* block the sounds due to server
messages, messages from a friend, or whispers.


  Commit: 8d3a570a48173e4b30d28d8a38fcbce666c10eee
      https://github.com/wesnoth/wesnoth/commit/8d3a570a48173e4b30d28d8a38fcbce666c10eee
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-07-14 (Mon, 14 Jul 2014)

  Changed paths:
    M changelog

  Log Message:
  -----------
  update changelog


Compare: https://github.com/wesnoth/wesnoth/compare/fe31cc0ff0b7...8d3a570a4817


More information about the Commits mailing list