- Made spawning of floor- and ceiling huggers a little more intelligent.
SVN r1348 (trunk)
This commit is contained in:
parent
fdfee91b9f
commit
bbdb2b10a8
8 changed files with 35 additions and 29 deletions
|
|
@ -75,7 +75,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_Beacon)
|
|||
AActor *rebel;
|
||||
angle_t an;
|
||||
|
||||
rebel = Spawn("Rebel1", self->x, self->y, ONFLOORZ, ALLOW_REPLACE);
|
||||
rebel = Spawn("Rebel1", self->x, self->y, self->floorz, ALLOW_REPLACE);
|
||||
if (!P_TryMove (rebel, rebel->x, rebel->y, true))
|
||||
{
|
||||
rebel->Destroy ();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue