Pārlūkot izejas kodu

delete_spawn is now atomic to avoid and conflicts

Emagi 1 gadu atpakaļ
vecāks
revīzija
48ab278003
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;
 };