Add r_drawviewmodel support

This commit is contained in:
Marco Cawthorne 2019-02-20 16:21:02 +01:00
parent d8926097fa
commit 8d4a3830fe
1 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,10 @@ void View_DrawViewModel(void)
if (pl.health <= 0) {
return;
}
if (cvar("r_drawviewmodel") == 0) {
return;
}
// Don't update when paused
if (serverkeyfloat("pausestate") == 0) {