mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-05-05 00:12:16 +00:00
no message
This commit is contained in:
parent
6d26c6e180
commit
88c32f7790
2 changed files with 3 additions and 3 deletions
|
|
@ -13288,9 +13288,8 @@ static boolean PIT_DustDevilLaunch(mobj_t *thing)
|
||||||
if (!player)
|
if (!player)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (abs(thing->x - dustdevil->x) > dustdevil->radius || abs(thing->y - dustdevil->y) > dustdevil->radius){
|
if (abs(thing->x - dustdevil->x) > dustdevil->radius || abs(thing->y - dustdevil->y) > dustdevil->radius)
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
|
|
||||||
if (thing->z + thing->height >= dustdevil->z && dustdevil->z + dustdevil->height >= thing->z) {
|
if (thing->z + thing->height >= dustdevil->z && dustdevil->z + dustdevil->height >= thing->z) {
|
||||||
fixed_t pos = thing->z - dustdevil->z;
|
fixed_t pos = thing->z - dustdevil->z;
|
||||||
|
|
|
||||||
|
|
@ -12724,7 +12724,8 @@ void P_PlayerAfterThink(player_t *player)
|
||||||
{
|
{
|
||||||
mobj_t *mo = player->mo, *dustdevil = player->mo->tracer;
|
mobj_t *mo = player->mo, *dustdevil = player->mo->tracer;
|
||||||
|
|
||||||
if (abs(mo->x - dustdevil->x) > dustdevil->radius || abs(mo->y - dustdevil->y) > dustdevil->radius){
|
if (abs(mo->x - dustdevil->x) > dustdevil->radius || abs(mo->y - dustdevil->y) > dustdevil->radius)
|
||||||
|
{
|
||||||
P_SetTarget(&player->mo->tracer, NULL);
|
P_SetTarget(&player->mo->tracer, NULL);
|
||||||
player->powers[pw_carry] = CR_NONE;
|
player->powers[pw_carry] = CR_NONE;
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue