summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/g_trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_trigger.c b/src/game/g_trigger.c
index 49c0dc8e..e89a7c36 100644
--- a/src/game/g_trigger.c
+++ b/src/game/g_trigger.c
@@ -626,7 +626,7 @@ trigger_buildable_touch
void trigger_buildable_touch( gentity_t *ent, gentity_t *other, trace_t *trace )
{
//only triggered by buildables
- if( !other || other->s.eType != ET_BUILDABLE )
+ if( other->s.eType != ET_BUILDABLE )
return;
trigger_buildable_trigger( ent, other );