Author: alink
Date: Wed Apr  4 22:20:49 2007
New Revision: 16592

URL: http://svn.gna.org/viewcvs/wesnoth?rev=16592&view=rev
Log:
For tiny gui, better fix for the height_adjust bug. Now this data is halved 
when readed from terrain

Modified:
    trunk/src/terrain.cpp

Modified: trunk/src/terrain.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/terrain.cpp?rev=16592&r1=16591&r2=16592&view=diff
==============================================================================
--- trunk/src/terrain.cpp (original)
+++ trunk/src/terrain.cpp Wed Apr  4 22:20:49 2007
@@ -95,6 +95,9 @@
 
        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") {


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

Reply via email to