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:
parent
30195592ce
commit
b3755bf0a2
|
@ -82,10 +82,11 @@ void
|
||||||
func_pushable::Respawn(void)
|
func_pushable::Respawn(void)
|
||||||
{
|
{
|
||||||
super::Respawn();
|
super::Respawn();
|
||||||
//SetSolid(SOLID_BSP);
|
SetSolid(SOLID_BSP);
|
||||||
SetOrigin(GetSpawnOrigin());
|
SetOrigin(GetSpawnOrigin());
|
||||||
SetMovetype(MOVETYPE_STEP);
|
SetMovetype(MOVETYPE_STEP);
|
||||||
PlayerUse = OnPlayerUse;
|
PlayerUse = OnPlayerUse;
|
||||||
|
hitcontentsmaski = CONTENTBIT_BODY; /* don't collide with anything but players */
|
||||||
|
|
||||||
if (!m_eCollBox) {
|
if (!m_eCollBox) {
|
||||||
m_eCollBox = spawn();
|
m_eCollBox = spawn();
|
||||||
|
|
Loading…
Reference in New Issue