From 50f46449cc04e085b3fbbc821f9108be5e23f715 Mon Sep 17 00:00:00 2001 From: Eugenio Favalli Date: Thu, 12 Jan 2006 14:50:39 +0000 Subject: 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. --- src/netcomputer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/netcomputer.cpp') diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp index 40685b5..2bf04db 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() -- cgit