- Fixed: A_EntityAttack did not spawn the correct missiles.

SVN r1765 (trunk)
This commit is contained in:
Christoph Oelckers 2009-08-09 19:12:16 +00:00
parent ae21fa4562
commit 914ccd4ea2
2 changed files with 9 additions and 2 deletions

View file

@ -1,4 +1,11 @@
August 8, 2009 August 9, 2009 (Changes by Graf Zahl)
- Fixed: A_EntityAttack did not spawn the correct missiles.
August 8, 2009 (Changes by Graf Zahl)
- replaced all code that changed a sector's light level with a setter function.
- Fixed: The FeatureFlags array in the CPUInfo struct was not mapped to the flags properly.
August 8, 2009
- Changed the return value of SetActivatorToTarget to match the description - Changed the return value of SetActivatorToTarget to match the description
in the wiki. in the wiki.

View file

@ -25,7 +25,7 @@ void A_SpectralMissile (AActor *self, const char *missilename)
if (self->target != NULL) if (self->target != NULL)
{ {
AActor *missile = P_SpawnMissileXYZ (self->x, self->y, self->z + 32*FRACUNIT, AActor *missile = P_SpawnMissileXYZ (self->x, self->y, self->z + 32*FRACUNIT,
self, self->target, PClass::FindClass("SpectralLightningBigV2"), false); self, self->target, PClass::FindClass(missilename), false);
if (missile != NULL) if (missile != NULL)
{ {
missile->tracer = self->target; missile->tracer = self->target;