Author: silene
Date: Sat May 9 18:41:29 2009
New Revision: 35512
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35512&view=rev
Log:
Typo (again).
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=35512&r1=35511&r2=35512&view=diff
==============================================================================
--- branches/1.6/src/display.cpp (original)
+++ branches/1.6/src/display.cpp Sat May 9 18:41:29 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