[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Wesnoth-cvs-commits] wesnoth/src map.cpp
From: |
Guillaume Melquiond |
Subject: |
[Wesnoth-cvs-commits] wesnoth/src map.cpp |
Date: |
Sat, 08 Jan 2005 08:59:26 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: Guillaume Melquiond <address@hidden> 05/01/08 13:39:38
Modified files:
src : map.cpp
Log message:
Fix behavioral discrepancy for healing terrains. Thanks to quartex and
ott.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/map.cpp.diff?tr1=1.45&tr2=1.46&r1=text&r2=text
Patches:
Index: wesnoth/src/map.cpp
diff -u wesnoth/src/map.cpp:1.45 wesnoth/src/map.cpp:1.46
--- wesnoth/src/map.cpp:1.45 Fri Dec 31 21:01:37 2004
+++ wesnoth/src/map.cpp Sat Jan 8 13:39:37 2005
@@ -1,4 +1,4 @@
-/* $Id: map.cpp,v 1.45 2004/12/31 21:01:37 isaaccp Exp $ */
+/* $Id: map.cpp,v 1.46 2005/01/08 13:39:37 silene Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -67,7 +67,7 @@
bool gamemap::gives_healing(const gamemap::location& loc) const
{
- return is_village(loc);
+ return on_board(loc) && gives_healing(get_terrain(loc));
}
bool gamemap::is_castle(const gamemap::location& loc) const
- [Wesnoth-cvs-commits] wesnoth/src map.cpp,
Guillaume Melquiond <=