From aed4f20a223c8720ba5eace60fb4fd5d899d25c4 Mon Sep 17 00:00:00 2001 From: Image <> Date: Tue, 14 Apr 2020 16:43:50 -0400 Subject: [PATCH] Revert "chest trap write lock when shuffling the map" This reverts commit 1db0dba76cd9884d2e286bbd9b338b5b9c37c23a. --- EQ2/source/WorldServer/Zone/ChestTrap.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/EQ2/source/WorldServer/Zone/ChestTrap.cpp b/EQ2/source/WorldServer/Zone/ChestTrap.cpp index 484f82ba1..dd22eeb29 100644 --- a/EQ2/source/WorldServer/Zone/ChestTrap.cpp +++ b/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__);