Skip to content

Commit

Permalink
- check for NOGRAVITY in 'fall'.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Mar 27, 2023
1 parent 96c1a60 commit 74b0497
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/games/duke/src/actors.cpp
Expand Up @@ -4073,6 +4073,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;
Expand Down

0 comments on commit 74b0497

Please sign in to comment.