summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/account-server/dalstorage.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index af736939..e09733a8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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() << ", "