summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2014-07-13 19:15:42 +0200
committer/dev/humancontroller <devhc@example.com>2017-03-09 13:51:13 +0100
commit7a159b88bb85822c58a21c0d13fc2d8d90b3fb68 (patch)
tree74c04d8c6895fcc2b440453f28d0178ebb4df5c6
parent61399ae6d2f8e6391f95495eec225863c586fb18 (diff)
remove a redundant condition
-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 );