diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:47:13 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-15 23:47:13 +0000 |
commit | 7e1011ccea542f4bc972c0a9c03eaca4a718566b (patch) | |
tree | 4ebdde458b132ddb12c737a338e39711eed72534 /src/account-server/accounthandler.cpp | |
parent | 16faa1f2ead902fd5f883dab487fc4ef4762c45f (diff) | |
download | manaserv-7e1011ccea542f4bc972c0a9c03eaca4a718566b.tar.gz manaserv-7e1011ccea542f4bc972c0a9c03eaca4a718566b.tar.bz2 manaserv-7e1011ccea542f4bc972c0a9c03eaca4a718566b.tar.xz manaserv-7e1011ccea542f4bc972c0a9c03eaca4a718566b.zip |
Set the default map position of new characters to a value that makes more sense. Implemented new basic attribute system on account server. Removed attribute modifiers, unified basic and derived attributes, storing attributes in a vector, renamed some attribute identifiers, removed identifiers for derived attributes that aren't needed yet.
Diffstat (limited to 'src/account-server/accounthandler.cpp')
-rw-r--r-- | src/account-server/accounthandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/account-server/accounthandler.cpp b/src/account-server/accounthandler.cpp index 4f2bbe89..a77516ce 100644 --- a/src/account-server/accounthandler.cpp +++ b/src/account-server/accounthandler.cpp @@ -671,8 +671,8 @@ AccountHandler::handleCharacterCreateMessage(AccountClient &computer, newCharacter->setHairStyle(hairStyle); newCharacter->setHairColor(hairColor); newCharacter->setMapId((int) config.getValue("defaultMap", 1)); - Point startingPos((int) config.getValue("startX", 0), - (int) config.getValue("startY", 0)); + Point startingPos((int) config.getValue("startX", 512), + (int) config.getValue("startY", 512)); newCharacter->setPosition(startingPos); computer.getAccount()->addCharacter(newCharacter); |