Merge commit 'origin/master' into 320

This commit is contained in:
tomrus88 2009-08-24 00:58:11 +04:00
commit 33149b8f04
7 changed files with 54 additions and 30 deletions

View file

@ -6191,7 +6191,8 @@ uint32 Player::GetZoneIdFromDB(uint64 guid)
zone = MapManager::Instance().GetZoneId(map,posx,posy,posz);
CharacterDatabase.PExecute("UPDATE characters SET zone='%u' WHERE guid='%u'", zone, guidLow);
if (zone > 0)
CharacterDatabase.PExecute("UPDATE characters SET zone='%u' WHERE guid='%u'", zone, guidLow);
}
return zone;