eventchase_current_distance = 0; // start from 0 next time
}
}
-
+
// do lockview after event chase camera so that it still applies whenever necessary.
- if(autocvar_cl_lockview || intermission > 1)
+ if(autocvar_cl_lockview)
{
setproperty(VF_ORIGIN, freeze_org);
setproperty(VF_ANGLES, freeze_ang);
if(!mv_active)
return;
- mv_mousepos = mv_mousepos + getmousepos();
-
- mv_mousepos_x = bound(0, mv_mousepos_x, vid_conwidth);
- mv_mousepos_y = bound(0, mv_mousepos_y, vid_conheight);
-
center = (vid_conwidth - 1)/2;
xmin = vid_conwidth*0.05; // 5% border must suffice
xmax = vid_conwidth - xmin;
precache_sound ("misc/invshot.wav");
mv_active = 1;
-
- mv_mousepos = '0.5 0 0' * vid_conwidth + '0 0.5 0' * vid_conheight;
+ setcursormode(1);
mv_selection = -1;
for(n_ssdirs = 0; ; ++n_ssdirs)
if (!mv_active)
return false;
+ if(bInputType == 3)
+ {
+ mv_mousepos_x = nPrimary;
+ mv_mousepos_y = nSecondary;
+ return true;
+ }
+
if (bInputType != 0)
return false;