Core/ObjectMgr: Fixed loading groups

Closes issue #5197.

--HG--
branch : trunk
This commit is contained in:
Shauren
2010-12-23 21:03:27 +01:00
parent b098c15674
commit e99ca097ed

View File

@@ -3878,10 +3878,10 @@ void ObjectMgr::LoadGroups()
uint32 groupLowGuid = 0;
uint32 count = 0;
Group* group = NULL;
do
{
Field *fields = result->Fetch();
Group *group = NULL;
Field* fields = result->Fetch();
if (groupLowGuid != fields[0].GetUInt32())
{
groupLowGuid = fields[0].GetUInt32();