summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <tmw@crushnet.org>2007-03-22 00:34:04 +0000
committerPhilipp Sehmisch <tmw@crushnet.org>2007-03-22 00:34:04 +0000
commita2f25c34db9db5c8fe57e0abdc9162531667fd06 (patch)
tree0825cacc73b09b7f16ac5fb2fffe07532c3bda6b /src/account-server/dalstorage.cpp
parentddb92024dd6851a0565f1f06ed4ac8ea2abf1dd3 (diff)
downloadmanaserv-a2f25c34db9db5c8fe57e0abdc9162531667fd06.tar.gz
manaserv-a2f25c34db9db5c8fe57e0abdc9162531667fd06.tar.bz2
manaserv-a2f25c34db9db5c8fe57e0abdc9162531667fd06.tar.xz
manaserv-a2f25c34db9db5c8fe57e0abdc9162531667fd06.zip
Fixed a bug that caused the character attributes to become mixed up.
Diffstat (limited to 'src/account-server/dalstorage.cpp')
-rw-r--r--src/account-server/dalstorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account-server/dalstorage.cpp b/src/account-server/dalstorage.cpp
index 721bb55f..8ae497e1 100644
--- a/src/account-server/dalstorage.cpp
+++ b/src/account-server/dalstorage.cpp
@@ -866,7 +866,7 @@ void DALStorage::flush(AccountPtr const &account)
sqlInsertCharactersTable
<< "insert into " << CHARACTERS_TBL_NAME
<< " (user_id, name, gender, hair_style, hair_color, level, money,"
- << " x, y, map_id, str, agi, vit, int, dex, will, charisma) values ("
+ << " x, y, map_id, str, agi, dex, vit, int, will, charisma) values ("
<< account->getID() << ", \""
<< (*it)->getName() << "\", "
<< (*it)->getGender() << ", "