mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-24 21:01:17 +00:00
+USE unbound fix
This commit is contained in:
parent
2e8672bb67
commit
ef14f6e403
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue