Core/DBLayer: Correct few more wrong read types (No. 3)

DB/World: Some consistency in the ints "length" field (not really a length)

From A to G world tables verified; missing all the others
This commit is contained in:
Nay
2012-03-27 19:26:58 +01:00
parent def4643896
commit ead019b061
6 changed files with 160 additions and 79 deletions
+2 -2
View File
@@ -41,7 +41,7 @@ void OutdoorPvPMgr::InitOutdoorPvP()
{
uint32 oldMSTime = getMSTime();
// 0 1
// 0 1
QueryResult result = WorldDatabase.Query("SELECT TypeId, ScriptName FROM outdoorpvp_template");
if (!result)
@@ -58,7 +58,7 @@ void OutdoorPvPMgr::InitOutdoorPvP()
{
Field* fields = result->Fetch();
typeId = fields[0].GetUInt32();
typeId = fields[0].GetUInt8();
if (DisableMgr::IsDisabledFor(DISABLE_TYPE_OUTDOORPVP, typeId, NULL))
continue;