- 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

@ -904,7 +904,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_FireSigil1)
P_BulletSlope (self, &linetarget);
if (linetarget != NULL)
{
spot = Spawn("SpectralLightningSpot", linetarget->x, linetarget->y, ONFLOORZ, ALLOW_REPLACE);
spot = Spawn("SpectralLightningSpot", linetarget->x, linetarget->y, linetarget->floorz, ALLOW_REPLACE);
if (spot != NULL)
{
spot->tracer = linetarget;