SVN r1803 (trunk)
This commit is contained in:
Christoph Oelckers 2009-09-06 21:24:04 +00:00
parent 5bd22ca864
commit 74e3502185

View file

@ -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;