summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/environment.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/environment.cpp b/src/environment.cpp
index 4b8425774..630f8d21a 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -795,8 +795,7 @@ neighbor_found:
// Call all the trigger variations
i->abm->trigger(m_env, p, n);
i->abm->trigger(m_env, p, n,
- active_object_count,
- active_object_count_wider + active_object_count);
+ active_object_count, active_object_count_wider);
// Count surrounding objects again if the abms added any
if(m_env->m_added_objects > 0) {