Browse Source

Fixed deadlock issues with m_Update

Image 4 years ago
parent
commit
4686e2603a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EQ2/source/WorldServer/Spawn.cpp

+ 1 - 0
EQ2/source/WorldServer/Spawn.cpp

@@ -624,6 +624,7 @@ EQ2Packet* Spawn::player_position_update_packet(Player* player, int16 version){
 	uchar* pos_changes = spawn_pos_changes(player, version);
 	if (pos_changes == NULL )
 	{
+		m_Update.releasewritelock(__FUNCTION__, __LINE__);
 		return NULL;
 	}