aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXTZGZoReX <none@none>2010-01-21 11:21:47 +0100
committerXTZGZoReX <none@none>2010-01-21 11:21:47 +0100
commit1c310c887b40c8a415f4eb10c5aa7319c6855f4a (patch)
tree62c5257382d6f8db9806af8e63e12f81309f466f /src
parent73719d3e767c71171aff51ac7c5aa9e7108b8177 (diff)
So much for my fix-without-compile skills. :(
(inb4 scores) --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/AddonMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AddonMgr.cpp b/src/game/AddonMgr.cpp
index 1c84ade9cc9..15d5633f2cb 100644
--- a/src/game/AddonMgr.cpp
+++ b/src/game/AddonMgr.cpp
@@ -42,7 +42,7 @@ AddonMgr::~AddonMgr()
void AddonMgr::LoadFromDB()
{
- result = CharacterDatabase.PQuery("SELECT name, crc FROM addons");
+ QueryResult* result = CharacterDatabase.PQuery("SELECT name, crc FROM addons");
if(!result)
{
sLog.outErrorDb("The table `addons` is empty");