diff --git a/doomsday/plugins/jheretic/src/h_main.c b/doomsday/plugins/jheretic/src/h_main.c index 715595c7cc..2e797a99e7 100644 --- a/doomsday/plugins/jheretic/src/h_main.c +++ b/doomsday/plugins/jheretic/src/h_main.c @@ -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"); }