summaryrefslogtreecommitdiff
path: root/src/interface.c
diff options
context:
space:
mode:
authorJacob1 <jfu614@gmail.com>2012-03-14 23:26:08 (GMT)
committer Jacob1 <jfu614@gmail.com>2012-03-14 23:26:08 (GMT)
commit4f176ba7c39e31a3d98f969cc4bc4d50221085a3 (patch)
tree5326215ea86d0e5b086da573074cdcc1e49e04fa /src/interface.c
parent08253244692bf81e96d74e185a7fe4fffdf88323 (diff)
downloadpowder-4f176ba7c39e31a3d98f969cc4bc4d50221085a3.zip
powder-4f176ba7c39e31a3d98f969cc4bc4d50221085a3.tar.gz
cursor changes to correct shape as soon as you click element/wall
Diffstat (limited to 'src/interface.c')
-rw-r--r--src/interface.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface.c b/src/interface.c
index 364fc00..4badd0c 100644
--- a/src/interface.c
+++ b/src/interface.c
@@ -2219,7 +2219,7 @@ void menu_ui(pixel *vid_buf, int i, int *sl, int *sr)
}
*/
//current menu function
-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 h,x,y,n=0,height,width,sy,rows=0,xoff=0,fwidth;
SEC = SEC2;
@@ -2458,7 +2458,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *dae, int b, int bq
SEC2 = -1;
}
else {
- *sl = h;
+ *sl = *su = h;
*dae = 51;
}
}
@@ -2478,7 +2478,7 @@ void menu_ui_v3(pixel *vid_buf, int i, int *sl, int *sr, int *dae, int b, int bq
SEC2 = -1;
}
else {
- *sr = h;
+ *sr = *su = h;
*dae = 51;
}
}