Browse Source

delete_spawn is now atomic to avoid and conflicts

Emagi 1 year ago
parent
commit
48ab278003
1 changed files with 1 additions and 1 deletions
  1. 1 1
      EQ2/source/WorldServer/Spawn.h

+ 1 - 1
EQ2/source/WorldServer/Spawn.h

@@ -1398,7 +1398,7 @@ private:
 	int32 loot_tier;
 	int32 loot_drop_type;
 
-	bool deleted_spawn;
+	std::atomic<bool> deleted_spawn;
 	Mutex m_GridMutex;
 	bool is_collector;
 };