mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 02:42:20 +00:00
no message
This commit is contained in:
parent
87f7100d2e
commit
6a9543b1c2
2 changed files with 3 additions and 3 deletions
|
@ -13288,9 +13288,8 @@ static boolean PIT_DustDevilLaunch(mobj_t *thing)
|
|||
if (!player)
|
||||
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;
|
||||
}
|
||||
|
||||
if (thing->z + thing->height >= dustdevil->z && dustdevil->z + dustdevil->height >= thing->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;
|
||||
|
||||
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);
|
||||
player->powers[pw_carry] = CR_NONE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue