only print warning if heals=true, not any non-zero value
This commit is contained in:
parent
23e1523f59
commit
e33805092b
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ terrain_type::terrain_type(const config& cfg)
|
|||
|
||||
light_modification_ = atoi(cfg["light"].c_str());
|
||||
|
||||
if (utils::string_bool(cfg["heals"])) {
|
||||
if (cfg["heals"] == "true") {
|
||||
LOG_STREAM(err, config) << "terrain " << id() << " uses heals=true which is deprecated (use number)\n";
|
||||
heals_ = 8;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue