diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 00:34:04 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-22 00:34:04 +0000 |
commit | a2f25c34db9db5c8fe57e0abdc9162531667fd06 (patch) | |
tree | 0825cacc73b09b7f16ac5fb2fffe07532c3bda6b | |
parent | ddb92024dd6851a0565f1f06ed4ac8ea2abf1dd3 (diff) | |
download | manaserv-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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/account-server/dalstorage.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2007-03-22 Philipp Sehmisch <tmw@crushnet.org> + + * src/account-server/dalstorage.cpp: Fixed a bug that caused the + character attributes to become mixed up. + 2007-03-20 Philipp Sehmisch <tmw@crushnet.org> * src/account-server/accounthandler.cpp, src/defines.h: Removed check 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() << ", " |