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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user