From fce44a1ce7ebb461ddff516a2a508fb91684a49e Mon Sep 17 00:00:00 2001 From: Darkvater Date: Sat, 28 Oct 2006 23:47:00 +0000 Subject: (svn r7000) -Fix: Incorrect use of e->we.click when the event is a 'place'. This didn't cause any bugs so far because the 'click' element was at the same position in the union for both events. --- main_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main_gui.c') diff --git a/main_gui.c b/main_gui.c index 022e9a49a..bb354e16b 100644 --- a/main_gui.c +++ b/main_gui.c @@ -1351,7 +1351,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e) break; case WE_PLACE_MOUSEUP: - if (e->we.click.pt.x != -1) { + if (e->we.place.pt.x != -1) { if ((e->we.place.userdata & 0xF) == VPM_X_AND_Y) // dragged actions GUIPlaceProcDragXY(e); } -- cgit v1.2.3-70-g09d2