Skip to content

Commit

Permalink
Fix initial clipping of floating monsters when spawned using spawn
Browse files Browse the repository at this point in the history
…CCMD
  • Loading branch information
bradharding committed Jan 11, 2025
1 parent 7a09a6d commit a33b7d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/c_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -8465,7 +8465,10 @@ static void spawn_func2(char *cmd, char *parms)
massacre = false;

if (flags & MF_NOGRAVITY)
{
thing->z = thing->floorz + 32 * FRACUNIT;
thing->flags2 &= ~MF2_FEETARECLIPPED;
}

if (!freeze)
{
Expand Down

0 comments on commit a33b7d9

Please sign in to comment.