mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 11:01:36 +00:00
- oops
SVN r1803 (trunk)
This commit is contained in:
parent
5bd22ca864
commit
74e3502185
1 changed files with 2 additions and 1 deletions
|
@ -5119,13 +5119,14 @@ AActor *P_SpawnPlayerMissile (AActor *source, fixed_t x, fixed_t y, fixed_t z,
|
||||||
|
|
||||||
MissileActor->velx = FixedMul (vx, speed);
|
MissileActor->velx = FixedMul (vx, speed);
|
||||||
MissileActor->vely = FixedMul (vy, speed);
|
MissileActor->vely = FixedMul (vy, speed);
|
||||||
if (th->flags3 & (MF3_FLOORHUGGER|MF3_CEILINGHUGGER))
|
if (MissileActor->flags3 & (MF3_FLOORHUGGER|MF3_CEILINGHUGGER))
|
||||||
{
|
{
|
||||||
MissileActor->velz = 0;
|
MissileActor->velz = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
MissileActor->velz = FixedMul (vz, speed);
|
MissileActor->velz = FixedMul (vz, speed);
|
||||||
|
}
|
||||||
|
|
||||||
if (MissileActor->flags4 & MF4_SPECTRAL)
|
if (MissileActor->flags4 & MF4_SPECTRAL)
|
||||||
MissileActor->health = -1;
|
MissileActor->health = -1;
|
||||||
|
|
Loading…
Reference in a new issue