mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- Fixed spawn height of projectiles created by SpawnPlayerMissile.
This commit is contained in:
parent
7b235ea13e
commit
28531c3f8f
1 changed files with 1 additions and 1 deletions
|
@ -6710,7 +6710,7 @@ AActor *P_SpawnPlayerMissile (AActor *source, double x, double y, double z,
|
|||
if (z != ONFLOORZ && z != ONCEILINGZ)
|
||||
{
|
||||
// Doom spawns missiles 4 units lower than hitscan attacks for players.
|
||||
z += source->Center() - source->Floorclip + source->AttackOffset(4);
|
||||
z += source->Center() - source->Floorclip + source->AttackOffset(-4);
|
||||
// Do not fire beneath the floor.
|
||||
if (z < source->floorz)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue