CBasePhysics: Make sure physics props cast a shadow by default
This commit is contained in:
parent
1b2823c8e4
commit
b611781d7f
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue