Merge branch 'fix-minecart-debug-build' into 'next'

Fix memory leak when other players are riding a minecart

See merge request STJr/SRB2!2146
This commit is contained in:
sphere 2023-09-20 15:26:41 +00:00
commit 1c4419ee56

View file

@ -11160,7 +11160,7 @@ static void P_MinecartThink(player_t *player)
detright->drawonlyforplayer = player;
}
else
P_RemoveMobj(detleft);
P_RemoveMobj(detright);
}
}
else