diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-01-12 14:50:39 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2006-01-12 14:50:39 +0000 |
commit | 50f46449cc04e085b3fbbc821f9108be5e23f715 (patch) | |
tree | e16bb5eee3302647e7ad8d5ca360ae866a7586c8 /src/netcomputer.cpp | |
parent | 58871d54f8ecaf9bde0689edb58561f40ed0f683 (diff) | |
download | manaserv-50f46449cc04e085b3fbbc821f9108be5e23f715.tar.gz manaserv-50f46449cc04e085b3fbbc821f9108be5e23f715.tar.bz2 manaserv-50f46449cc04e085b3fbbc821f9108be5e23f715.tar.xz manaserv-50f46449cc04e085b3fbbc821f9108be5e23f715.zip |
Fixed default map definition for a new created character, enabled loading of map when a character is on it, fixed inconsistency in getter/setter for map id.
Diffstat (limited to 'src/netcomputer.cpp')
-rw-r--r-- | src/netcomputer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp index 40685b51..2bf04db8 100644 --- a/src/netcomputer.cpp +++ b/src/netcomputer.cpp @@ -64,7 +64,7 @@ void NetComputer::setCharacter(tmwserv::BeingPtr ch) state.removeBeing(characterPtr); } characterPtr = ch; - state.addBeing(characterPtr, characterPtr->getMapId()); + state.addBeing(characterPtr, characterPtr->getMap()); } void NetComputer::unsetAccount() |