[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src playturn.cpp multiplayer.cpp
From: |
Jon Daniel |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src playturn.cpp multiplayer.cpp |
Date: |
Tue, 22 Mar 2005 07:53:23 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Jon Daniel <address@hidden> 05/03/22 12:53:23
Modified files:
src : playturn.cpp multiplayer.cpp
Log message:
* removed debug command.
* disable debug before starting a mp game
* -d still works for single player if you want it in
multiplayer you just have to set the bool.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/playturn.cpp.diff?tr1=1.347&tr2=1.348&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer.cpp.diff?tr1=1.148&tr2=1.149&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer.cpp
diff -u wesnoth/src/multiplayer.cpp:1.148 wesnoth/src/multiplayer.cpp:1.149
--- wesnoth/src/multiplayer.cpp:1.148 Sat Mar 19 16:21:02 2005
+++ wesnoth/src/multiplayer.cpp Tue Mar 22 12:53:23 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer.cpp,v 1.148 2005/03/19 16:21:02 gruikya Exp $ */
+/* $Id: multiplayer.cpp,v 1.149 2005/03/22 12:53:23 j_daniel Exp $ */
/*
Copyright (C)
Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -208,6 +208,7 @@
switch (res) {
case mp::ui::PLAY:
+ game_config::debug = false;
play_level(data, game_config, &level, disp.video(), state,
std::vector<config*>());
recorder.clear();
@@ -250,6 +251,7 @@
switch (res) {
case mp::ui::PLAY:
+ game_config::debug = false;
play_level(data, game_config, &level, disp.video(), state,
std::vector<config*>());
recorder.clear();
Index: wesnoth/src/playturn.cpp
diff -u wesnoth/src/playturn.cpp:1.347 wesnoth/src/playturn.cpp:1.348
--- wesnoth/src/playturn.cpp:1.347 Sat Mar 19 20:41:58 2005
+++ wesnoth/src/playturn.cpp Tue Mar 22 12:53:23 2005
@@ -1,4 +1,4 @@
-/* $Id: playturn.cpp,v 1.347 2005/03/19 20:41:58 j_daniel Exp $ */
+/* $Id: playturn.cpp,v 1.348 2005/03/22 12:53:23 j_daniel Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -2426,8 +2426,6 @@
throw end_level_exception(QUIT);
} else if(cmd == "q!" || cmd == "q") {
throw end_level_exception(QUIT);
- } else if(cmd == "debug") {
- game_config::debug = (data != "off") ? true : false;
} else if(cmd == "ignore_replay_errors") {
game_config::ignore_replay_errors = (data != "off") ? true :
false;
} else if(cmd == "n" && game_config::debug) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Wesnoth-cvs-commits] wesnoth/src playturn.cpp multiplayer.cpp,
Jon Daniel <=