diff --git a/code/client/cl_main.c b/code/client/cl_main.c index 7c8c2102..e9f606a5 100644 --- a/code/client/cl_main.c +++ b/code/client/cl_main.c @@ -47,7 +47,9 @@ cvar_t *cl_voipShowMeter; cvar_t *cl_voip; #endif +#ifdef USE_RENDERER_DLOPEN cvar_t *cl_renderer; +#endif cvar_t *cl_nodelta; cvar_t *cl_debugMove; diff --git a/code/game/bg_pmove.c b/code/game/bg_pmove.c index 7485a4f4..a3c6f6e2 100644 --- a/code/game/bg_pmove.c +++ b/code/game/bg_pmove.c @@ -1862,7 +1862,7 @@ void PmoveSingle (pmove_t *pmove) { } // set the firing flag for continuous beam weapons - if ( !(pm->ps->pm_flags & PMF_RESPAWNED) && pm->ps->pm_type != PM_INTERMISSION && (!pm->ps->pm_type == PM_NOCLIP) + if ( !(pm->ps->pm_flags & PMF_RESPAWNED) && pm->ps->pm_type != PM_INTERMISSION && pm->ps->pm_type != PM_NOCLIP && ( pm->cmd.buttons & BUTTON_ATTACK ) && pm->ps->ammo[ pm->ps->weapon ] ) { pm->ps->eFlags |= EF_FIRING; } else {