Core/misc: Correct fields ID description

Core/misc: Correct fields ID description in GameEventMgr.cpp
This commit is contained in:
MacWarrior
2012-09-14 20:50:52 +03:00
parent b9b344eb88
commit 5d4cc81e16
+2 -2
View File
@@ -205,7 +205,7 @@ void GameEventMgr::LoadFromDB()
{ {
{ {
uint32 oldMSTime = getMSTime(); uint32 oldMSTime = getMSTime();
// 1 2 3 4 5 6 7 8 // 0 1 2 3 4 5 6 7
QueryResult result = WorldDatabase.Query("SELECT eventEntry, UNIX_TIMESTAMP(start_time), UNIX_TIMESTAMP(end_time), occurence, length, holiday, description, world_event FROM game_event"); QueryResult result = WorldDatabase.Query("SELECT eventEntry, UNIX_TIMESTAMP(start_time), UNIX_TIMESTAMP(end_time), occurence, length, holiday, description, world_event FROM game_event");
if (!result) if (!result)
{ {
@@ -366,7 +366,7 @@ void GameEventMgr::LoadFromDB()
{ {
uint32 oldMSTime = getMSTime(); uint32 oldMSTime = getMSTime();
// 1 2 // 0 1
QueryResult result = WorldDatabase.Query("SELECT creature.guid, game_event_creature.eventEntry FROM creature" QueryResult result = WorldDatabase.Query("SELECT creature.guid, game_event_creature.eventEntry FROM creature"
" JOIN game_event_creature ON creature.guid = game_event_creature.guid"); " JOIN game_event_creature ON creature.guid = game_event_creature.guid");