- added TheFortuneTeller's NORANDOMPUFFZ submission.
SVN r4170 (trunk)
This commit is contained in:
parent
ce39368796
commit
33f363f4c6
4 changed files with 30 additions and 17 deletions
|
|
@ -4738,8 +4738,9 @@ AActor *P_SpawnMapThing (FMapThing *mthing, int position)
|
|||
AActor *P_SpawnPuff (AActor *source, const PClass *pufftype, fixed_t x, fixed_t y, fixed_t z, angle_t dir, int updown, int flags)
|
||||
{
|
||||
AActor *puff;
|
||||
|
||||
z += pr_spawnpuff.Random2 () << 10;
|
||||
|
||||
if (!(flags & PF_NORANDOMZ))
|
||||
z += pr_spawnpuff.Random2 () << 10;
|
||||
|
||||
puff = Spawn (pufftype, x, y, z, ALLOW_REPLACE);
|
||||
if (puff == NULL) return NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue