freebsd-ports/games/heretic/files/patch-d__main.c
Mathieu Arnold 7ae7b018cc With the power of USES=dos2unix, get rid of most patches and files
with CRLF.

While there, run make makepatch, rename patches to use the new scheme,
and various fixes.

With hat:	portmgr
Sponsored by:	Absolight
2016-06-20 16:23:28 +00:00

25 lines
669 B
C

--- d_main.c.orig 2003-12-08 23:21:25 UTC
+++ d_main.c
@@ -690,6 +690,7 @@ void D_DoomMain(void)
setbuf(stdout, NULL);
nomonsters = M_CheckParm("-nomonsters");
respawnparm = M_CheckParm("-respawn");
+ respawnartifacts = M_CheckParm("-respawnartifacts");
ravpic = M_CheckParm("-ravpic");
noartiskip = M_CheckParm("-noartiskip");
debugmode = M_CheckParm("-debug");
@@ -778,7 +779,13 @@ void D_DoomMain(void)
{
deathmatch = true;
}
-
+
+ if ( M_CheckParm("-respawnartifacts")!=0 )
+ {
+ printf("Parameter: -respawnartifacts\n");
+ respawnartifacts=1;
+ }
+
p = M_CheckParm("-skill");
if(p && p < myargc-1)
{