Skip to content

Commit

Permalink
Fixed|libcommon: Failed auto-loading save state in slot #0 on player …
Browse files Browse the repository at this point in the history
…reborn
  • Loading branch information
danij-deng committed Aug 12, 2012
1 parent 22df7e1 commit d0f6b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/plugins/common/src/g_game.c
Expand Up @@ -2187,15 +2187,15 @@ void G_DoReborn(int plrNum)
#endif

// Have we chosen a save state to load?
if(lastSlot > 0
if(lastSlot >= 0
#if !__JHEXEN__
|| autoSlot > 0
|| autoSlot >= 0
#endif
)
{
// Everything appears to be in order - schedule the game-save load!
#if !__JHEXEN__
const int chosenSlot = (lastSlot > 0? lastSlot : autoSlot);
const int chosenSlot = (lastSlot >= 0? lastSlot : autoSlot);
#else
const int chosenSlot = lastSlot;
#endif
Expand Down

0 comments on commit d0f6b14

Please sign in to comment.