summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/p_map.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/p_map.c b/src/p_map.c
index 053f267c..42f2a60f 100644
--- a/src/p_map.c
+++ b/src/p_map.c
@@ -1072,6 +1072,8 @@ P_AimLineAttack
{
fixed_t x2;
fixed_t y2;
+
+ t1 = P_SubstNullMobj(t1);
angle >>= ANGLETOFINESHIFT;
shootthing = t1;