From 7a159b88bb85822c58a21c0d13fc2d8d90b3fb68 Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 13 Jul 2014 19:15:42 +0200 Subject: remove a redundant condition --- src/game/g_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game') 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 ); -- cgit