Skip to content

Commit

Permalink
Fixed (All games): "-warp and -nomonsters". [http://sourceforge.net/t…
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed Nov 14, 2009
1 parent bf00500 commit 1d5fef1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion doomsday/plugins/common/src/g_game.c
Expand Up @@ -2080,7 +2080,7 @@ void G_DoNewGame(void)
{
deathmatch = false;
respawnMonsters = false;
noMonstersParm = ArgExists("-noMonstersParm"); //false;
noMonstersParm = ArgExists("-nomonsters")? true : false;
}
G_InitNew(dSkill, dEpisode, dMap);
#else
Expand Down
8 changes: 4 additions & 4 deletions doomsday/plugins/jdoom/src/d_main.c
Expand Up @@ -571,10 +571,10 @@ void G_PostInit(void)
}

// Command line options.
noMonstersParm = ArgCheck("-nomonsters");
respawnParm = ArgCheck("-respawn");
fastParm = ArgCheck("-fast");
devParm = ArgCheck("-devparm");
noMonstersParm = ArgCheck("-nomonsters")? true : false;
respawnParm = ArgCheck("-respawn")? true : false;
fastParm = ArgCheck("-fast")? true : false;
devParm = ArgCheck("-devparm")? true : false;

if(ArgCheck("-altdeath"))
cfg.netDeathmatch = 2;
Expand Down

0 comments on commit 1d5fef1

Please sign in to comment.