Author: crab
Date: Sun Feb 14 17:56:48 2010
New Revision: 41211
URL: http://svn.gna.org/viewcvs/wesnoth?rev=41211&view=rev
Log:
do not turn debug in MP games if wesnoth is started with -d. Later, we also
need to add a warning chat message if someone is using debug in MP game. This
amends patch #1392
Modified:
trunk/src/game.cpp
Modified: trunk/src/game.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/game.cpp?rev=41211&r1=41210&r2=41211&view=diff
==============================================================================
--- trunk/src/game.cpp (original)
+++ trunk/src/game.cpp Sun Feb 14 17:56:48 2010
@@ -2070,7 +2070,9 @@
continue;
}
} else if(res == gui::MULTIPLAYER) {
- game_config::debug = false;
+ if (!game_config::mp_debug) {
+ game_config::debug = false;
+ }
if(game.play_multiplayer() == false) {
continue;
}
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits