Explorar o código

Revert "chest trap write lock when shuffling the map"

This reverts commit 1db0dba76cd9884d2e286bbd9b338b5b9c37c23a.
Image %!s(int64=4) %!d(string=hai) anos
pai
achega
aed4f20a22
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      EQ2/source/WorldServer/Zone/ChestTrap.cpp

+ 0 - 3
EQ2/source/WorldServer/Zone/ChestTrap.cpp

@@ -66,10 +66,7 @@ bool ChestTrapList::GetNextChestTrap(ChestTrap::ChestTrapInfo* cti) {
 	{
 		MChestTrapList.releasereadlock(__FUNCTION__, __LINE__);
 		//re-shuffle the map, we reached the end
-
-		MChestTrapList.writelock(__FUNCTION__, __LINE__);
 		shuffleMap(this);
-		MChestTrapList.releasewritelock(__FUNCTION__, __LINE__);
 	}
 	else
 		MChestTrapList.releasereadlock(__FUNCTION__, __LINE__);