[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src actions.cpp
From: |
ott |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src actions.cpp |
Date: |
Fri, 13 May 2005 12:48:45 -0400 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: ott <address@hidden> 05/05/13 16:48:45
Modified files:
src : actions.cpp
Log message:
in evaluate_battle_stats() ensure strings is unset unless we actually
need them
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/actions.cpp.diff?tr1=1.218&tr2=1.219&r1=text&r2=text
Patches:
Index: wesnoth/src/actions.cpp
diff -u wesnoth/src/actions.cpp:1.218 wesnoth/src/actions.cpp:1.219
--- wesnoth/src/actions.cpp:1.218 Fri May 13 15:57:46 2005
+++ wesnoth/src/actions.cpp Fri May 13 16:48:44 2005
@@ -1,4 +1,4 @@
-/* $Id: actions.cpp,v 1.218 2005/05/13 15:57:46 ott Exp $ */
+/* $Id: actions.cpp,v 1.219 2005/05/13 16:48:44 ott Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -293,7 +293,9 @@
std::map<gamemap::location,unit>& units,
const gamestatus& state,
gamemap::TERRAIN attacker_terrain_override,
- battle_stats_strings *strings)
+ battle_stats_strings *strings = NULL)
+// strings != NULL if we want the Damage Calculations to be shown
+// it should otherwise be NULL to avoid diagnostics being constructed!
{
battle_stats res;
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, ott, 2005/05/10
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, John McNabb, 2005/05/13
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, ott, 2005/05/13
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp,
ott <=
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, ott, 2005/05/13
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, ott, 2005/05/14
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, ott, 2005/05/16
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, David White, 2005/05/29
- [Wesnoth-cvs-commits] wesnoth/src actions.cpp, David White, 2005/05/29