From 7acdd8a2d6feca528e3ecda300d348a3e776cd49 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 4 Oct 2021 22:47:52 +0200 Subject: [PATCH] Base: Weapons_SetModel; make sure the viewmodel's bbox gets set to point size every time the model changes, in case the sv_gameplayfix for setmodel sizes hack is enabled. --- base/src/shared/weapon_common.qc | 1 + 1 file changed, 1 insertion(+) diff --git a/base/src/shared/weapon_common.qc b/base/src/shared/weapon_common.qc index b069a460..971fca4a 100644 --- a/base/src/shared/weapon_common.qc +++ b/base/src/shared/weapon_common.qc @@ -121,6 +121,7 @@ Weapons_SetModel(string mdl) { #ifdef CLIENT setmodel(pSeat->m_eViewModel, mdl); + setsize(pSeat->m_eViewModel, [0,0,0], [0,0,0]); #endif }