CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Philippe Plantier <[EMAIL PROTECTED]> 05/04/23 12:17:23
Modified files:
src : actions.cpp
Log message:
Made units to be dumped when an invalid checksum is encountered.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/actions.cpp.diff?tr1=1.209&tr2=1.210&r1=text&r2=text
Patches:
Index: wesnoth/src/actions.cpp
diff -u wesnoth/src/actions.cpp:1.209 wesnoth/src/actions.cpp:1.210
--- wesnoth/src/actions.cpp:1.209 Sat Apr 23 12:13:10 2005
+++ wesnoth/src/actions.cpp Sat Apr 23 12:17:23 2005
@@ -1,4 +1,4 @@
-/* $Id: actions.cpp,v 1.209 2005/04/23 12:13:10 gruikya Exp $ */
+/* $Id: actions.cpp,v 1.210 2005/04/23 12:17:23 gruikya Exp $ */
/*
Copyright (C) 2003 by David White <[EMAIL PROTECTED]>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -172,6 +172,8 @@
": has checksum " << cs.checksum() <<
" while datasource has checksum " <<
rc << "\n";
+
+ ::write(std::cerr, cfg_unit);
// FIXME: this was not playtested, so I will disable it
// for release.
//if (!game_config::ignore_replay_errors) throw
replay::error();