Author: silene
Date: Sat May  9 18:32:04 2009
New Revision: 35510

URL: http://svn.gna.org/viewcvs/wesnoth?rev=35510&view=rev
Log:
Typo.

Modified:
    branches/1.6/src/display.cpp

Modified: branches/1.6/src/display.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/branches/1.6/src/display.cpp?rev=35510&r1=35509&r2=35510&view=diff
==============================================================================
--- branches/1.6/src/display.cpp (original)
+++ branches/1.6/src/display.cpp Sat May  9 18:32:04 2009
@@ -1537,8 +1537,8 @@
        int y = get_location_y(loc);
        const SDL_Rect &area = map_area();
        int hw = hex_width(), hs = hex_size();
-       return !(x + hs >= area.x - hw && x < area.x + area.w - hw &&
-                y + hs >= area.y - hs && y < area.y - area.h - hs);
+       return x + hs >= area.x - hw && x < area.x + area.w - hw &&
+              y + hs >= area.y - hs && y < area.y - area.h - hs;
 }
 
 void display::scroll_to_xy(int screenxpos, int screenypos, SCROLL_TYPE 
scroll_type, bool force)


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

Reply via email to