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.
This commit is contained in:
Marco Cawthorne 2021-10-04 22:47:52 +02:00
parent 3d7e132699
commit 7acdd8a2d6
Signed by: eukara
GPG key ID: C196CD8BA993248A

View file

@ -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
}