team-eternity / eternity

The Eternity Engine
http://eternity.youfailit.net/wiki/Main_Page
GNU General Public License v3.0
236 stars 37 forks source link

Consider actor->z when spawning mbf21 custom monster projectile #567

Closed skillsawed closed 2 years ago

skillsawed commented 2 years ago

Projectiles are spawning at the incorrect height in Eternity when using the MBF21 A_MonsterProjectile DeHackEd codepointer. This change makes it consistent with calls to P_SpawnMissile in the default monster projectile code pointers in a_doom.cpp.

Seems to work correctly now when testing in game.

Altazimuth commented 2 years ago

Fuckin whoops. Thanks for the pull request.