Skip to content

Commit

Permalink
gameover() func NULL fix
Browse files Browse the repository at this point in the history
  • Loading branch information
White Dragon committed Feb 15, 2018
1 parent 2cca3fe commit ec6fd10
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion engine/openbor.c
Original file line number Diff line number Diff line change
Expand Up @@ -33875,7 +33875,11 @@ int playlevel(char *filename)
{
credits = 0;
}
if (player[i].ent) kill(player[i].ent);
if (player[i].ent)
{
kill(player[i].ent);
player[i].ent = NULL;
}
//self = player[i].ent;
//player_die();
}
Expand Down

0 comments on commit ec6fd10

Please sign in to comment.