mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-19 12:59:10 +00:00
For tiny gui, better fix for the height_adjust bug.
Now this data is halved when read from terrain
This commit is contained in:
parent
93d60a4c14
commit
f5ba8576fb
@ -95,6 +95,9 @@ terrain_type::terrain_type(const config& cfg)
|
||||
|
||||
height_adjust_ = atoi(cfg["unit_height_adjust"].c_str()) + 16;
|
||||
submerge_ = atof(cfg["submerge"].c_str());
|
||||
#ifdef USE_TINY_GUI
|
||||
height_adjust_ /= 2;
|
||||
#endif
|
||||
light_modification_ = atoi(cfg["light"].c_str());
|
||||
|
||||
if (cfg["heals"] == "true") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user