1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-05 07:40:24 +00:00

Modifies _MOUSEX/_MOUSEY to return an integer value in SCREEN 0.

This commit is contained in:
FellippeHeitor 2017-08-17 23:11:30 -03:00
parent 58bae219cb
commit b5e2b06ecd

View file

@ -19912,7 +19912,7 @@ void sub_mkdir(qbs *str){
x2=qbr_float_to_long(f);
if (x2>x) f-=0.001f;
if (x2<x) f+=0.001f;
return f;
return floor(f + 0.5);
}
return x;
@ -19956,7 +19956,7 @@ void sub_mkdir(qbs *str){
y2=qbr_float_to_long(f);
if (y2>y) f-=0.001f;
if (y2<y) f+=0.001f;
return f;
return floor(f + 0.5);
}
return y;