X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fscr_mod.c;h=efa4cb0defda3861f926a082d18b3ca2b769bb39;hb=4a690a4a5268847c24e8edb08ba558a36bbd6d3c;hp=ae6de9bcd3fd9cf496ac439b581d7516edddd5e0;hpb=3bf187fe037df34459f04bf4e625f38afb80fcf8;p=retroray diff --git a/src/scr_mod.c b/src/scr_mod.c index ae6de9b..efa4cb0 100644 --- a/src/scr_mod.c +++ b/src/scr_mod.c @@ -90,7 +90,6 @@ static void act_settool(int tidx); static void act_addobj(void); static void act_rmobj(void); -static void draw_rband(void); static void moveobj(struct object *obj, int px0, int py0, int px1, int py1); static void inval_vport(void); @@ -397,8 +396,8 @@ static void mdl_mouse(int bn, int press, int x, int y) rtk_fix_rect(&rband); rendrect = rband; rend_begin(rband.x, rband.y, rband.width, rband.height); + app_redisplay(rband.x, rband.y, rband.width, rband.height); } - app_redisplay(rband.x, rband.y, rband.width, rband.height); } else if(bn == 0 && x == rband.x && y == rband.y) { primray(&pickray, x, y);