no message
This commit is contained in:
parent
87f7100d2e
commit
6a9543b1c2
|
@ -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…
Reference in New Issue