summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 20:25:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 20:25:52 +0300
commite1e32075c34dc61f6abbd7b9cd1aed250854d6de (patch)
tree52a7db22ebb5a2a6261e56f1a6928d7493539fc7 /src/being
parent36bf685462f371b306f51a29331e7a1d86ce3a91 (diff)
downloadmanaplus-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.gz
manaplus-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.bz2
manaplus-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.xz
manaplus-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.zip
Remove dafault home positions.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 6917cc465..1b5df36aa 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -2244,11 +2244,8 @@ void LocalPlayer::tryMagic(const std::string &spell, const int baseMagic,
void LocalPlayer::loadHomes()
{
- if (serverVersion > 0)
- return;
std::string buf;
- std::stringstream ss(serverConfig.getValue("playerHomes",
- "maps/018-1.tmx 71 76 maps/013-3.tmx 71 24"));
+ std::stringstream ss(serverConfig.getValue("playerHomes", ""));
while (ss >> buf)
{