aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-27 17:42:00 -0500
committermegamage <none@none>2009-06-27 17:42:00 -0500
commite5b982b0ef450033ccb58335906c360c79f9f523 (patch)
treeca3d69eff64155faf228e50e7509e8f31bee9cae
parentdc1de3e3be1f50cfe4d7722da20bb636c4ec2c23 (diff)
[8074] Fixed typo in money save. Author: nos4r2zod
--HG-- branch : trunk
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 732acbd316e..c881c3c950c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -16129,7 +16129,7 @@ void Player::SaveInventoryAndGoldToDB()
void Player::SaveGoldToDB()
{
- CharacterDatabase.PExecute("UPDATE money = '%u' WHERE guid = '%u'", GetMoney(), GetGUIDLow());
+ CharacterDatabase.PExecute("UPDATE characters SET money = '%u' WHERE guid = '%u'", GetMoney(), GetGUIDLow());
}
void Player::_SaveActions()