From 4f176ba7c39e31a3d98f969cc4bc4d50221085a3 Mon Sep 17 00:00:00 2001 From: Jacob1 Date: Wed, 14 Mar 2012 19:26:08 -0400 Subject: cursor changes to correct shape as soon as you click element/wall diff --git a/includes/interface.h b/includes/interface.h index ea65c35..6eb6647 100644 --- a/includes/interface.h +++ b/includes/interface.h @@ -291,7 +291,7 @@ int save_filename_ui(pixel *vid_buf); void menu_ui(pixel *vid_buf, int i, int *sl, int *sr); -void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *dae, int b, int bq, int mx, int my); +void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *su, int *dae, int b, int bq, int mx, int my); int color_menu_ui(pixel *vid_buf, int i, int *cr, int *cg, int *cb, int b, int bq, int mx, int my, int * tool); diff --git a/src/graphics.c b/src/graphics.c index 754b8de..bff4f08 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -3614,7 +3614,7 @@ void render_cursor(pixel *vid, int x, int y, int t, int rx, int ry) { #ifdef OGLR int i; - if (t=sdl_scale*zoom_wx && y>=sdl_scale*zoom_wy //change mouse position while it is in a zoom window && x