[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src multiplayer_lobby.cpp
From: |
David White |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src multiplayer_lobby.cpp |
Date: |
Sat, 02 Oct 2004 17:08:54 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 04/10/02 20:58:35
Modified files:
src : multiplayer_lobby.cpp
Log message:
fixed statistics not being reset between multiplayer games
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/multiplayer_lobby.cpp.diff?tr1=1.36&tr2=1.37&r1=text&r2=text
Patches:
Index: wesnoth/src/multiplayer_lobby.cpp
diff -u wesnoth/src/multiplayer_lobby.cpp:1.36
wesnoth/src/multiplayer_lobby.cpp:1.37
--- wesnoth/src/multiplayer_lobby.cpp:1.36 Sat Aug 28 17:04:05 2004
+++ wesnoth/src/multiplayer_lobby.cpp Sat Oct 2 20:58:35 2004
@@ -11,6 +11,7 @@
#include "preferences.hpp"
#include "show_dialog.hpp"
#include "sound.hpp"
+#include "statistics.hpp"
#include "widgets/textbox.hpp"
#include "widgets/button.hpp"
#include "widgets/menu.hpp"
@@ -36,6 +37,8 @@
RESULT enter(display& disp, config& game_data, const config& terrain_data,
dialog* dlg,
std::vector<std::string>& messages)
{
+ statistics::fresh_stats();
+
std::cerr << "entered multiplayer lobby...\n";
const preferences::display_manager disp_manager(&disp);
const hotkey::basic_handler key_handler(&disp);
- [Wesnoth-cvs-commits] wesnoth/src multiplayer_lobby.cpp,
David White <=