mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 13:01:56 +00:00
Merge branch 'EOL-25' into EOL
# Conflicts: # src/p_enemy.c
This commit is contained in:
commit
61042de7d2
1 changed files with 4 additions and 0 deletions
|
|
@ -10900,6 +10900,10 @@ void A_FlickyCenter(mobj_t *actor)
|
||||||
// Now abs() extravalue1 (home radius)
|
// Now abs() extravalue1 (home radius)
|
||||||
if (!actor->spawnpoint)
|
if (!actor->spawnpoint)
|
||||||
actor->extravalue1 = abs(actor->extravalue1);
|
actor->extravalue1 = abs(actor->extravalue1);
|
||||||
|
|
||||||
|
// Impose default home radius if flicky orbits around player
|
||||||
|
if (!(actor->flags & MF_SLIDEME) && !actor->extravalue1)
|
||||||
|
actor->extravalue1 = 512 * FRACUNIT;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(actor->flags & MF_SLIDEME) && !(actor->flags & MF_NOCLIPTHING))
|
if (!(actor->flags & MF_SLIDEME) && !(actor->flags & MF_NOCLIPTHING))
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue