diff options
author | Kudlaty <none@none> | 2009-07-09 11:14:43 +0200 |
---|---|---|
committer | Kudlaty <none@none> | 2009-07-09 11:14:43 +0200 |
commit | 820f77c2653fbef3953cc145f45f3e5740d651ad (patch) | |
tree | c608ae8ab75be82b735f6c7f387fef7c84c08a75 | |
parent | f829ee0dc0e669a9d7ca20710dc2a9fcba48f80f (diff) |
Fix showing proper EventAI version. Thx for pointing X-Savior
--HG--
branch : trunk
-rw-r--r-- | src/game/World.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/World.cpp b/src/game/World.cpp index e5b6c7e5280..bd85fe30baa 100644 --- a/src/game/World.cpp +++ b/src/game/World.cpp @@ -3203,14 +3203,14 @@ void World::UpdateMaxSessionCounters() void World::LoadDBVersion() { - QueryResult* result = WorldDatabase.Query("SELECT db_version FROM version LIMIT 1"); + QueryResult* result = WorldDatabase.Query("SELECT db_version, script_version FROM version LIMIT 1"); //QueryResult* result = WorldDatabase.Query("SELECT version, creature_ai_version FROM db_version LIMIT 1"); if(result) { Field* fields = result->Fetch(); m_DBVersion = fields[0].GetCppString(); - //m_CreatureEventAIVersion = fields[1].GetCppString(); + m_CreatureEventAIVersion = fields[1].GetCppString(); delete result; } |