Skip to content

Commit

Permalink
libcommon: Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Jul 13, 2012
1 parent 11629aa commit 0ac8b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/g_game.c
Expand Up @@ -2622,7 +2622,7 @@ void G_DoWorldDone(void)
* First, determine whether we've been to this map previously and if so,
* whether we need to load the archived map state.
*/
revisit = SV_HxHaveMapSaveForSlot(BASE_SLOT, nextMap+1);
revisit = SV_HxHaveMapSaveForSlot(BASE_SLOT, nextMap);
if(deathmatch) revisit = false;

if(!deathmatch)
Expand Down
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/p_saveg.c
Expand Up @@ -773,7 +773,7 @@ boolean SV_IsSlotUsed(int slot)
#if __JHEXEN__
boolean SV_HxHaveMapSaveForSlot(int slot, uint map)
{
AutoStr* path = composeGameSavePathForSlot2(slot, (int)map);
AutoStr* path = composeGameSavePathForSlot2(slot, (int)map+1);
if(!path || Str_IsEmpty(path)) return false;
return SV_ExistingFile(Str_Text(path));
}
Expand Down

0 comments on commit 0ac8b0e

Please sign in to comment.