Author: alink
Date: Thu Aug 23 19:59:05 2007
New Revision: 19745

URL: http://svn.gna.org/viewcvs/wesnoth?rev=19745&view=rev
Log:
remove the off-map terrain of the unit defense list in the help
(useless, its info was wrong and link broken), thanks uso

Modified:
    trunk/src/help.cpp

Modified: trunk/src/help.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/help.cpp?rev=19745&r1=19744&r2=19745&view=diff
==============================================================================
--- trunk/src/help.cpp (original)
+++ trunk/src/help.cpp Thu Aug 23 19:59:05 2007
@@ -1352,7 +1352,7 @@
                        for (; terrain_it != 
preferences::encountered_terrains().end();
                                terrain_it++) {
                                const t_translation::t_letter terrain = 
*terrain_it;
-                               if (terrain == t_translation::FOGGED || terrain 
== t_translation::VOID_TERRAIN)
+                               if (terrain == t_translation::FOGGED || terrain 
== t_translation::VOID_TERRAIN || terrain == t_translation::OFF_MAP_USER)
                                        continue;
                                const terrain_type& info = 
map->get_terrain_info(terrain);
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to