Fix memory leak when other players are riding a minecart

This commit is contained in:
Gustaf Alhäll 2023-09-14 18:20:00 +02:00
parent f02fd19c5a
commit 65547ae036
No known key found for this signature in database
GPG key ID: 6C1F67D690CDEDFD

View file

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