diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 20:25:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 20:25:52 +0300 |
commit | e1e32075c34dc61f6abbd7b9cd1aed250854d6de (patch) | |
tree | 52a7db22ebb5a2a6261e56f1a6928d7493539fc7 | |
parent | 36bf685462f371b306f51a29331e7a1d86ce3a91 (diff) | |
download | mv-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.gz mv-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.bz2 mv-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.tar.xz mv-e1e32075c34dc61f6abbd7b9cd1aed250854d6de.zip |
Remove dafault home positions.
-rw-r--r-- | src/being/localplayer.cpp | 5 |
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) { |