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:
parent
9e2675f492
commit
9815516cfc
1 changed files with 0 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue