summaryrefslogtreecommitdiff
path: root/games/heretic/files/patch-p__inter.c
diff options
context:
space:
mode:
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..a954ea25bcd1
--- /dev/null
+++ b/games/heretic/files/patch-p__inter.c
@@ -0,0 +1,15 @@
+--- p_inter.c.orig 2000-01-07 17:58:53 UTC
++++ p_inter.c
+@@ -477,8 +477,10 @@ boolean P_GiveArtifact(player_t *player,
+ 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);
+ }