aboutsummaryrefslogtreecommitdiff
path: root/src/game/CreatureGroups.cpp
diff options
context:
space:
mode:
authorSpp <none@none>2010-04-30 11:21:25 +0200
committerSpp <none@none>2010-04-30 11:21:25 +0200
commit1bc2a9fd4a738e2671c0d35aaba9f76a4aee209c (patch)
treefd8f5c869164752798893a4b56b97a484549c488 /src/game/CreatureGroups.cpp
parent19bed200369a49e97f8f2496f27e6be826ec8b66 (diff)
Replace some PQuery/PExecute by more simple Query/Execute
Original patch by hunuza, extended to whole code Closses issue 1446 --HG-- branch : trunk
Diffstat (limited to 'src/game/CreatureGroups.cpp')
-rw-r--r--src/game/CreatureGroups.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/CreatureGroups.cpp b/src/game/CreatureGroups.cpp
index 6c688ab316f..911b6d625af 100644
--- a/src/game/CreatureGroups.cpp
+++ b/src/game/CreatureGroups.cpp
@@ -78,7 +78,7 @@ void CreatureGroupManager::LoadCreatureFormations()
CreatureGroupMap.clear();
//Check Integrity of the table
- QueryResult_AutoPtr result = WorldDatabase.PQuery("SELECT MAX(leaderGUID) FROM creature_formations");
+ QueryResult_AutoPtr result = WorldDatabase.Query("SELECT MAX(leaderGUID) FROM creature_formations");
if (!result)
{
@@ -87,7 +87,7 @@ void CreatureGroupManager::LoadCreatureFormations()
}
//Get group data
- result = WorldDatabase.PQuery("SELECT leaderGUID, memberGUID, dist, angle, groupAI FROM creature_formations ORDER BY leaderGUID");
+ result = WorldDatabase.Query("SELECT leaderGUID, memberGUID, dist, angle, groupAI FROM creature_formations ORDER BY leaderGUID");
if (!result)
{