[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src multiplayer_connect.cpp |
Date: |
Sat, 28 May 2005 18:29:05 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 05/05/28 22:29:05
Modified files:
src : multiplayer_connect.cpp
Log message:
fixed bug when loading saved games
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_connect.cpp.diff?tr1=1.144&tr2=1.145&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer_connect.cpp
diff -u wesnoth/src/multiplayer_connect.cpp:1.144
wesnoth/src/multiplayer_connect.cpp:1.145
--- wesnoth/src/multiplayer_connect.cpp:1.144 Sat May 14 10:58:54 2005
+++ wesnoth/src/multiplayer_connect.cpp Sat May 28 22:29:05 2005
@@ -1,4 +1,4 @@
-/* $Id: multiplayer_connect.cpp,v 1.144 2005/05/14 10:58:54 j_daniel Exp $ */
+/* $Id: multiplayer_connect.cpp,v 1.145 2005/05/28 22:29:05 Sirp Exp $ */
/*
Copyright (C)
Part of the Battle for Wesnoth Project http://www.wesnoth.org
@@ -899,10 +899,14 @@
level_ = state_.snapshot;
// Adds the replay data, and the replay start, to the level, so
- // clients can receive it.
- level_.add_child("replay") = state_.replay_data;
- if(!state_.starting_pos.empty())
- level_.add_child("replay_start") = state_.starting_pos;
+ // clients can receive it.
+
+ //TO-DO: this should be done only if the player has selected
for the replay to be viewed
+ if(false) {
+ level_.add_child("replay") = state_.replay_data;
+ if(!state_.starting_pos.empty())
+ level_.add_child("replay_start") =
state_.starting_pos;
+ }
level_.add_child("statistics") = statistics::write_stats();