From ef14f6e403ec324bceb73238fd58f217a660c419 Mon Sep 17 00:00:00 2001 From: Maddes Buecher Date: Sun, 20 Aug 2000 14:21:38 +0000 Subject: [PATCH] +USE unbound fix --- qw_server/sv_user.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/qw_server/sv_user.c b/qw_server/sv_user.c index f5e60b2..9bcc5df 100644 --- a/qw_server/sv_user.c +++ b/qw_server/sv_user.c @@ -1413,6 +1413,8 @@ SV_PreRunCmd ( void ) /* SV_RunCmd */ +extern qboolean nouse; // 1999-10-29 +USE fix by Maddes + void SV_RunCmd ( usercmd_t *ucmd, qboolean inside ) { @@ -1464,6 +1466,12 @@ SV_RunCmd ( usercmd_t *ucmd, qboolean inside ) VectorCopy (ucmd->angles, sv_player->v.v_angle); sv_player->v.button0 = ucmd->buttons & 1; +// 1999-10-29 +USE fix by Maddes start + if (!nouse) + { + sv_player->v.button1 = (ucmd->buttons & 4)>>2; + } +// 1999-10-29 +USE fix by Maddes end sv_player->v.button2 = (ucmd->buttons & 2)>>1; if (ucmd->impulse) sv_player->v.impulse = ucmd->impulse;