From 02b6f5342e123f4e93b84c20754a9f5c3d4f1768 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Tue, 7 Jun 2016 18:38:18 +0100 Subject: [PATCH] Change the hash calculation slightly. --- YSFReflector/Network.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/YSFReflector/Network.cpp b/YSFReflector/Network.cpp index d3061f7..e30f828 100644 --- a/YSFReflector/Network.cpp +++ b/YSFReflector/Network.cpp @@ -169,12 +169,6 @@ void CNetwork::setCount(unsigned int count) hash ^= (hash >> 6); } - for (unsigned int i = 0U; i < m_description.size(); i++) { - hash += m_description.at(i); - hash += (hash << 10); - hash ^= (hash >> 6); - } - // Final avalanche hash += (hash << 3); hash ^= (hash >> 11);