- check for NOGRAVITY in 'fall'.

This commit is contained in:
Christoph Oelckers 2022-12-31 08:05:24 +01:00
parent 17a8dd5c2e
commit f0a6c4ecd8

View file

@ -4068,6 +4068,7 @@ void fall(DDukeActor *actor, int playernum)
{
actor->spr.xoffset = 0;
actor->spr.yoffset = 0;
if (actor->flags3 & SFLAG3_NOGRAVITY) return;
// if(!gotz)
{
double grav;