mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 06:41:41 +00:00
- Changed AFastProjectile::Effect() so that it sets the spawned trail to face
same direction as the projectile. SVN r2039 (trunk)
This commit is contained in:
parent
d2a4339816
commit
5aa673baad
2 changed files with 12 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
December 24, 2009
|
||||
- Changed AFastProjectile::Effect() so that it sets the spawned trail to face
|
||||
same direction as the projectile.
|
||||
|
||||
December 24, 2009 (Changes by Graf Zahl)
|
||||
- fixed: The UDMF blockfloaters flag was misnamed. Changed to match the spec.
|
||||
|
||||
|
|
|
@ -125,7 +125,14 @@ void AFastProjectile::Effect()
|
|||
}
|
||||
|
||||
const PClass *trail = PClass::FindClass(name);
|
||||
Spawn (trail, x, y, hitz, ALLOW_REPLACE);
|
||||
if (trail != NULL)
|
||||
{
|
||||
AActor *act = Spawn (trail, x, y, hitz, ALLOW_REPLACE);
|
||||
if (act != NULL)
|
||||
{
|
||||
act->angle = this->angle;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue