mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Falling rocks only collide with players and other rocks
This commit is contained in:
parent
c3d535ae90
commit
5e2d3035e0
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue