mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-29 20:50:58 +00:00
Impose default radius for orbiting flickies
This commit is contained in:
parent
21a55a4702
commit
f000a68150
1 changed files with 4 additions and 0 deletions
|
@ -10900,6 +10900,10 @@ void A_FlickyCenter(mobj_t *actor)
|
|||
// Now abs() extravalue1 (home radius)
|
||||
if (!actor->spawnpoint)
|
||||
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))
|
||||
|
|
Loading…
Reference in a new issue