aboutsummaryrefslogtreecommitdiff
path: root/games/heretic/files/patch-p_inter.c
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2011-06-08 11:46:40 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2011-06-08 11:46:40 +0000
commitcbb0e53c1016b1423834f2228d4698353d808f71 (patch)
tree21d76f0afe8d8bd2acdb7d7d6d75f4ec8e6bc842 /games/heretic/files/patch-p_inter.c
parentff91d9d9667b8fb7fe791781dc9e22b1fdf98b08 (diff)
downloadports-cbb0e53c1016b1423834f2228d4698353d808f71.tar.gz
ports-cbb0e53c1016b1423834f2228d4698353d808f71.zip
Notes
Diffstat (limited to 'games/heretic/files/patch-p_inter.c')
-rw-r--r--games/heretic/files/patch-p_inter.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/heretic/files/patch-p_inter.c b/games/heretic/files/patch-p_inter.c
new file mode 100644
index 000000000000..7e82b1270a86
--- /dev/null
+++ b/games/heretic/files/patch-p_inter.c
@@ -0,0 +1,15 @@
+--- p_inter.c.ori Sun Mar 4 15:38:51 2007
++++ p_inter.c Sun Mar 4 15:41:50 2007
+@@ -477,8 +477,10 @@
+ void P_SetDormantArtifact(mobj_t *arti)
+ {
+ arti->flags &= ~MF_SPECIAL;
+- if(deathmatch && (arti->type != MT_ARTIINVULNERABILITY)
+- && (arti->type != MT_ARTIINVISIBILITY))
++ if(
++ (deathmatch && (arti->type != MT_ARTIINVULNERABILITY)
++ && (arti->type != MT_ARTIINVISIBILITY))
++ || (respawnartifacts) )
+ {
+ P_SetMobjState(arti, S_DORMANTARTI1);
+ }