summaryrefslogtreecommitdiff
path: root/source/cl_tent.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/cl_tent.c')
-rw-r--r--source/cl_tent.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/cl_tent.c b/source/cl_tent.c
index 17e8807..859c04e 100644
--- a/source/cl_tent.c
+++ b/source/cl_tent.c
@@ -1413,7 +1413,9 @@ void CL_ParseTEnt (void)
break;
case TE_FLASHLIGHT:
+#if USE_DLIGHTS
CL_Flashlight(te.entity1, te.pos1);
+#endif
break;
case TE_FORCEWALL:
@@ -1466,7 +1468,9 @@ void CL_ParseTEnt (void)
break;
case TE_TRACKER_EXPLOSION:
+#if USE_DLIGHTS
CL_ColorFlash (te.pos1, 0, 150, -1, -1, -1);
+#endif
CL_ColorExplosionParticles (te.pos1, 0, 1);
S_StartSound (te.pos1, 0, 0, cl_sfx_disrexp, 1, ATTN_NORM, 0);
break;