fix reload after death in single player (#676)

This commit is contained in:
Roman Fomin 2022-07-23 21:32:18 +07:00 committed by GitHub
parent f835be4aa6
commit 7ee7ffd156
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2406,7 +2406,10 @@ void G_DeathMatchSpawnPlayer(int playernum)
void G_DoReborn(int playernum)
{
if (!netgame)
gameaction = ga_loadlevel; // reload the level from scratch
{
if (gameaction != ga_reloadlevel)
gameaction = ga_loadlevel; // reload the level from scratch
}
else
{ // respawn at the start
int i;