- 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
|
|
@ -105,7 +105,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_SpotLightning)
|
|||
if (self->target == NULL)
|
||||
return;
|
||||
|
||||
spot = Spawn("SpectralLightningSpot", self->target->x, self->target->y, ONFLOORZ, ALLOW_REPLACE);
|
||||
spot = Spawn("SpectralLightningSpot", self->target->x, self->target->y, self->target->floorz, ALLOW_REPLACE);
|
||||
if (spot != NULL)
|
||||
{
|
||||
spot->threshold = 25;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue