- Made spawning of floor- and ceiling huggers a little more intelligent.

SVN r1348 (trunk)
This commit is contained in:
Christoph Oelckers 2009-01-03 18:09:33 +00:00
commit bbdb2b10a8
8 changed files with 35 additions and 29 deletions

View file

@ -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;