wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src/server game.cpp


From: Guillaume Melquiond
Subject: [Wesnoth-cvs-commits] wesnoth/src/server game.cpp
Date: Sat, 05 Feb 2005 07:27:14 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Guillaume Melquiond <address@hidden>    05/02/05 12:27:14

Modified files:
        src/server     : game.cpp 

Log message:
        Remove uselessly huge dump of wml commands from the server.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/server/game.cpp.diff?tr1=1.24&tr2=1.25&r1=text&r2=text

Patches:
Index: wesnoth/src/server/game.cpp
diff -u wesnoth/src/server/game.cpp:1.24 wesnoth/src/server/game.cpp:1.25
--- wesnoth/src/server/game.cpp:1.24    Sat Jan 29 22:13:52 2005
+++ wesnoth/src/server/game.cpp Sat Feb  5 12:27:14 2005
@@ -295,13 +295,13 @@
 
 bool game::process_commands(const config& cfg)
 {
-       std::cerr << "processing commands: '" << cfg.write() << "'\n";
+       //std::cerr << "processing commands: '" << cfg.write() << "'\n";
        bool res = false;
        const config::child_list& cmd = cfg.get_children("command");
        for(config::child_list::const_iterator i = cmd.begin(); i != cmd.end(); 
++i) {
                if((**i).child("end_turn") != NULL) {
                        res = res || end_turn();
-                       std::cerr << "res: " << (res ? "yes" : "no") << "\n";
+                       //std::cerr << "res: " << (res ? "yes" : "no") << "\n";
                }
        }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]