Skip to content

Instantly share code, notes, and snippets.

@xyzz
Created December 11, 2012 15:22
Show Gist options
  • Save xyzz/3358184e1824cfe7db7e to your computer and use it in GitHub Desktop.
Save xyzz/3358184e1824cfe7db7e to your computer and use it in GitHub Desktop.
diff --git a/src/environment.cpp b/src/environment.cpp
index 5bf127a..93af5b9 100644
--- a/src/environment.cpp
+++ b/src/environment.cpp
@@ -1787,7 +1787,7 @@ void ServerEnvironment::deactivateFarObjects(bool force_delete)
<<block->m_static_objects.m_stored.size()
<<" (over 49) objects."
<<" Forcing delete."<<std::endl;
- force_delete = true;
+ force_delete = false;
} else {
u16 new_id = pending_delete ? id : 0;
// If static counterpart already exists, remove it first.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment