Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
1 addition
and
2 deletions.
-
+1
−2
src/environment.cpp
|
@@ -795,8 +795,7 @@ class ABMHandler |
|
|
// 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) { |
|
|