From ad3b20584b6649933efed3fb6bbd0f99d1b73f52 Mon Sep 17 00:00:00 2001
From: toasterbabe <rollerorbital@gmail.com>
Date: Wed, 25 Jan 2017 14:52:36 +0000
Subject: [PATCH] After IRC discussion, made the shells only cause pain to
 enemy players.

---
 src/p_inter.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/p_inter.c b/src/p_inter.c
index 669fabf9fe..c7a15275af 100644
--- a/src/p_inter.c
+++ b/src/p_inter.c
@@ -1187,8 +1187,8 @@ void P_TouchSpecialThing(mobj_t *special, mobj_t *toucher, boolean heightcheck)
 						special->threshold = TICRATE - 1;
 						toucher->momz = -toucher->momz;
 					}
-					else // source can't be given as otherwise P_PlayerHitsPlayer will fail
-						P_DamageMobj(toucher, special, NULL/*special->target*/, 1, 0);
+					else // can't handle in PIT_CheckThing because of landing-on causing it to stop
+						P_DamageMobj(toucher, special, special->target, 1, 0);
 				}
 				else if (special->threshold == 0)
 				{
-- 
GitLab