aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureGroups.cpp
diff options
context:
space:
mode:
authorKudlaty <none@none>2009-09-10 22:40:40 +0200
committerKudlaty <none@none>2009-09-10 22:40:40 +0200
commitb287288888eabd719068e24c355ff1dc2c1810b2 (patch)
tree0fd1217f92e426342701d05a34305ad99e5b809c /src/game/CreatureGroups.cpp
parent5633ea57d11e23d8609994bd2ee9cdf7e36ed5e7 (diff)
Fix compatibility problems with PostgreSQL. Patch by Azuritus
--HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureGroups.cpp')
-rw-r--r--src/game/CreatureGroups.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/game/CreatureGroups.cpp b/src/game/CreatureGroups.cpp
index 69a4b96f06c..97610754e69 100644
--- a/src/game/CreatureGroups.cpp
+++ b/src/game/CreatureGroups.cpp
@@ -78,21 +78,21 @@ void CreatureGroupManager::LoadCreatureFormations()
CreatureGroupMap.clear();
//Check Integrity of the table
- QueryResult *result = WorldDatabase.PQuery("SELECT MAX(`leaderGUID`) FROM `creature_formations`");
+ QueryResult *result = WorldDatabase.PQuery("SELECT MAX(leaderGUID) FROM creature_formations");
if(!result)
{
- sLog.outErrorDb(" ...an error occured while loading the table `creature_formations` ( maybe it doesn't exist ?)\n");
+ sLog.outErrorDb(" ...an error occured while loading the table creature_formations ( maybe it doesn't exist ?)\n");
return;
}
delete result;
//Get group data
- result = WorldDatabase.PQuery("SELECT `leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI` FROM `creature_formations` ORDER BY `leaderGUID`");
+ result = WorldDatabase.PQuery("SELECT leaderGUID, memberGUID, dist, angle, groupAI FROM creature_formations ORDER BY leaderGUID");
if(!result)
{
- sLog.outErrorDb("The table `creature_formations` is empty or corrupted");
+ sLog.outErrorDb("The table creature_formations is empty or corrupted");
return;
}