Fix players clipping into some solid objects
Caused by c6daa4da8 not reverting the return values
This commit is contained in:
parent
3f0b521112
commit
e111d31df8
1 changed files with 5 additions and 5 deletions
10
src/p_map.c
10
src/p_map.c
|
|
@ -1238,7 +1238,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
else
|
||||
{
|
||||
K_KartBouncing(g_tm.thing, thing, false, true);
|
||||
return BMIT_CONTINUE;
|
||||
return BMIT_ABORT;
|
||||
}
|
||||
}
|
||||
else if (thing->type == MT_SMK_PIPE)
|
||||
|
|
@ -1259,7 +1259,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
}
|
||||
|
||||
K_KartBouncing(g_tm.thing, thing, false, true);
|
||||
return BMIT_CONTINUE;
|
||||
return BMIT_ABORT;
|
||||
}
|
||||
else if (thing->type == MT_SMK_THWOMP)
|
||||
{
|
||||
|
|
@ -1302,7 +1302,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
K_KartBouncing(g_tm.thing, thing, false, true);
|
||||
}
|
||||
|
||||
return BMIT_CONTINUE;
|
||||
return BMIT_ABORT;
|
||||
}
|
||||
else if (thing->type == MT_KART_LEFTOVER)
|
||||
{
|
||||
|
|
@ -1317,7 +1317,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
else
|
||||
K_KartBouncing(g_tm.thing, thing, false, false);
|
||||
|
||||
return BMIT_CONTINUE;
|
||||
return BMIT_ABORT;
|
||||
}
|
||||
else if (thing->flags & MF_SOLID)
|
||||
{
|
||||
|
|
@ -1332,7 +1332,7 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
|
|||
else
|
||||
K_KartBouncing(g_tm.thing, thing, false, true);
|
||||
|
||||
return BMIT_CONTINUE;
|
||||
return BMIT_ABORT;
|
||||
}
|
||||
}
|
||||
#if 0
|
||||
|
|
|
|||
Loading…
Reference in a new issue