Skip to content

Commit

Permalink
Fixed Heretic: Check for the prescence of episode two maps in G_Ident…
Browse files Browse the repository at this point in the history
…ifyVersion was broken.
  • Loading branch information
danij-deng committed Oct 18, 2010
1 parent 3dbbb35 commit 84d5ed7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doomsday/plugins/jheretic/src/h_main.c
Expand Up @@ -182,7 +182,7 @@ void G_IdentifyVersion(void)
// The game mode string is used in netgames.
strcpy(gameModeString, "heretic");

if(!P_MapExists(1, 0) == -1)
if(!P_MapExists(1, 0))
{ // Can't find episode 2 maps, must be the shareware WAD
strcpy(gameModeString, "heretic-share");
}
Expand Down

0 comments on commit 84d5ed7

Please sign in to comment.