right click reload button to go back to open_ui, reload button disappears when clear button used

(amended since TPT doesn't have the instant_open argument to open_ui)
This commit is contained in:
jacob1 2012-07-19 12:58:24 -04:00 committed by jacksonmj
parent 62224ad13f
commit 45503b4b7b

View File

@ -2273,6 +2273,8 @@ int main(int argc, char *argv[])
svf_description[0] = 0;
gravityMode = 0;
airMode = 0;
svf_last = NULL;
svf_lsize = 0;
}
if (x>=(XRES+BARSIZE-(510-385)) && x<=(XRES+BARSIZE-(510-476)))
{
@ -2323,7 +2325,10 @@ int main(int argc, char *argv[])
}
if (x>=19 && x<=35 && svf_last && !bq) {
//int tpval = sys_pause;
parse_save(svf_last, svf_lsize, 1, 0, 0, bmap, vx, vy, pv, fvx, fvy, signs, parts, pmap);
if (b == 1 || !strncmp(svf_id,"",8))
parse_save(svf_last, svf_lsize, 1, 0, 0, bmap, vx, vy, pv, fvx, fvy, signs, parts, pmap);
else
open_ui(vid_buf, svf_id, NULL);
//sys_pause = tpval;
}
if (x>=(XRES+BARSIZE-(510-476)) && x<=(XRES+BARSIZE-(510-491)) && !bq)