Skip to content

Commit

Permalink
[PreAlpha Rev 69] Doesn't select core_version from database.
Browse files Browse the repository at this point in the history
  • Loading branch information
Passion committed May 2, 2010
1 parent 54ba1e0 commit 4354c43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/game/World.cpp
Expand Up @@ -2136,12 +2136,12 @@ void World::UpdateMaxSessionCounters()

void World::LoadDBVersion()
{
QueryResult* result = WorldDatabase.Query("SELECT core_version, script_version, db_version, cache_id FROM version LIMIT 1");
QueryResult* result = WorldDatabase.Query("SELECT script_version, db_version, cache_id FROM version LIMIT 1");
if(result)
{
Field* fields = result->Fetch();

m_DBVersion = fields[3].GetCppString();
m_DBVersion = fields[1].GetCppString();
m_CreatureEventAIVersion = fields[2].GetCppString();

// will be overwrite by config values if different and non-0
Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "PreAlpha Rev 68"
#define REVISION_NR "PreAlpha Rev 69"
#endif // __REVISION_NR_H__

0 comments on commit 4354c43

Please sign in to comment.