Author: boucman
Date: Fri May 25 19:43:20 2007
New Revision: 17852

URL: http://svn.gna.org/viewcvs/wesnoth?rev=17852&view=rev
Log:
fix halo glitch

Modified:
    trunk/src/unit.cpp

Modified: trunk/src/unit.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/unit.cpp?rev=17852&r1=17851&r2=17852&view=diff
==============================================================================
--- trunk/src/unit.cpp (original)
+++ trunk/src/unit.cpp Fri May 25 19:43:20 2007
@@ -1896,7 +1896,7 @@
        }
        if(unit_halo_ != halo::NO_HALO) {
                const int d = disp.hex_size() / 2;
-               halo::set_location(unit_halo_, xsrc+ d, ysrc -height_adjust+ d);
+               halo::set_location(unit_halo_, x+ d, y -height_adjust+ d);
        }
 
        if(draw_bars_) {


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

Reply via email to