In help, remove the systematic red coloring of defense% for impassable terrain

Inconsistant with the coloring of other values (red is low)

Also note that a tower (all terrain impassable) with high defense must have 
these numbers in green.
This commit is contained in:
Ali El Gariani 2007-08-24 00:30:17 +00:00
parent 9e2675f492
commit 9815516cfc

View file

@ -1380,10 +1380,6 @@ public:
color = "white";
else
color = "green";
//if unit cannot move to this terrain, defense is relevant only
// when unit is put there via WML, so show defense in red:
if (moves >= 99)
color = "red";
str << "<format>color=" << color << " text='"<< defense << "%'</format>";
const std::string markup = str.str();