CBasePhysics: Make sure physics props cast a shadow by default

This commit is contained in:
Marco Cawthorne 2020-03-03 22:49:37 +01:00
parent 1b2823c8e4
commit b611781d7f

View file

@ -50,6 +50,7 @@ void CBasePhysics::TouchThink(void)
/* continue testing next frame */ /* continue testing next frame */
nextthink = time; nextthink = time;
effects &= ~EF_NOSHADOW;
#endif #endif
} }
@ -97,6 +98,7 @@ void CBasePhysics::Respawn(void)
setmodel(this, m_oldModel); setmodel(this, m_oldModel);
setorigin(this, m_oldOrigin); setorigin(this, m_oldOrigin);
#endif #endif
effects &= ~EF_NOSHADOW;
} }
void CBasePhysics::CBasePhysics(void) void CBasePhysics::CBasePhysics(void)