Database/World: made the database structure similar to TrinityCore (#154)

* Database/World: date the database structure similar to TrinityCore

* Updated ObjectMgr.cpp

* Moved sql update to pending_db_world directory
This commit is contained in:
Stefano Borzì
2016-09-22 21:21:22 +02:00
committed by Shin
parent c0590a5cfc
commit 431704c7e2
5 changed files with 233 additions and 51 deletions

View File

@@ -571,7 +571,7 @@ void BattlegroundMgr::CreateInitialBattlegrounds()
{
uint32 oldMSTime = getMSTime();
// 0 1 2 3 4 5 6 7 8 9 10 11
QueryResult result = WorldDatabase.Query("SELECT id, MinPlayersPerTeam, MaxPlayersPerTeam, MinLvl, MaxLvl, AllianceStartLoc, AllianceStartO, HordeStartLoc, HordeStartO, StartMaxDist, Weight, ScriptName FROM battleground_template");
QueryResult result = WorldDatabase.Query("SELECT ID, MinPlayersPerTeam, MaxPlayersPerTeam, MinLvl, MaxLvl, AllianceStartLoc, AllianceStartO, HordeStartLoc, HordeStartO, StartMaxDist, Weight, ScriptName FROM battleground_template");
if (!result)
{