func_pushable: func_pushables shouldn't collide with anything but BODY type objects for now

to work around the collision issues on maps such as cs_estate
This commit is contained in:
Marco Cawthorne 2022-09-12 14:01:51 -07:00
parent 30195592ce
commit b3755bf0a2
Signed by: eukara
GPG Key ID: CE2032F0A2882A22
1 changed files with 2 additions and 1 deletions

View File

@ -82,10 +82,11 @@ void
func_pushable::Respawn(void)
{
super::Respawn();
//SetSolid(SOLID_BSP);
SetSolid(SOLID_BSP);
SetOrigin(GetSpawnOrigin());
SetMovetype(MOVETYPE_STEP);
PlayerUse = OnPlayerUse;
hitcontentsmaski = CONTENTBIT_BODY; /* don't collide with anything but players */
if (!m_eCollBox) {
m_eCollBox = spawn();