瀏覽代碼

delete_spawn is now atomic to avoid and conflicts

Emagi 1 年之前
父節點
當前提交
48ab278003
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;
 };