Falling rocks only collide with players and other rocks
This commit is contained in:
1 parent
9e4937d07f
commit
9cd47643df
1 file changed
+2
-1
+2
-1
@@ -1077,7 +1077,8 @@ static boolean PIT_CheckThing(mobj_t *thing)
|
||||
|
||||
//}
|
||||
|
||||
if (thing->type == MT_FALLINGROCK || tmthing->type == MT_FALLINGROCK)
|
||||
if ((thing->type == MT_FALLINGROCK && (tmthing->player || tmthing->type == MT_FALLINGROCK))
|
||||
|| (tmthing->type == MT_FALLINGROCK && (thing->player || thing->type == MT_FALLINGROCK)))
|
||||
{
|
||||
// see if it went over / under
|
||||
if (tmthing->z > thing->z + thing->height)
|
||||
|
||||
Reference in new issue
Block a user