mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 10:56:38 +01:00
Core/misc: Correct fields ID description
Core/misc: Correct fields ID description in GameEventMgr.cpp
This commit is contained in:
@@ -205,7 +205,7 @@ void GameEventMgr::LoadFromDB()
|
||||
{
|
||||
{
|
||||
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");
|
||||
if (!result)
|
||||
{
|
||||
@@ -366,7 +366,7 @@ void GameEventMgr::LoadFromDB()
|
||||
{
|
||||
uint32 oldMSTime = getMSTime();
|
||||
|
||||
// 1 2
|
||||
// 0 1
|
||||
QueryResult result = WorldDatabase.Query("SELECT creature.guid, game_event_creature.eventEntry FROM creature"
|
||||
" JOIN game_event_creature ON creature.guid = game_event_creature.guid");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user