mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 06:53:58 +00:00
- Fixed: A_EntityAttack did not spawn the correct missiles.
SVN r1765 (trunk)
This commit is contained in:
parent
ae21fa4562
commit
914ccd4ea2
2 changed files with 9 additions and 2 deletions
|
@ -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.
|
||||||
|
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue