1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/games/heretic/files/patch-d_main.c
Oliver Lehmann cbb0e53c10 adding respawnaritfacts and configurable shortkeys
bump PORTREVISION

PR:		ports/156536
Submitted By:	Kalten <kalten@gmx.at>
2011-06-08 11:46:40 +00:00

26 lines
650 B
C

--- d_main.c.ori Sun Mar 11 16:31:49 2007
+++ d_main.c Sun Mar 11 16:33:46 2007
@@ -690,6 +690,7 @@
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 @@
{
deathmatch = true;
}
-
+
+ if ( M_CheckParm("-respawnartifacts")!=0 )
+ {
+ printf("Parameter: -respawnartifacts\n");
+ respawnartifacts=1;
+ }
+
p = M_CheckParm("-skill");
if(p && p < myargc-1)
{