diff options
Diffstat (limited to 'src/game-server/player.cpp')
-rw-r--r-- | src/game-server/player.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game-server/player.cpp b/src/game-server/player.cpp index 8d5cbae0..2160cbb6 100644 --- a/src/game-server/player.cpp +++ b/src/game-server/player.cpp @@ -38,17 +38,6 @@ void Player::update() setStat(STAT_ACCURACY, 50 + getRawStat(STAT_DEXTERITY)); setStat(STAT_SPEED, getRawStat(STAT_DEXTERITY)); - // Update persistent data. - int mapId = getMapId(); - if (getMap() != mapId) - { - /* Only update on map change. This is on purpose. It prevents players - from respawning/reconnecting at the location they died. They will - reappear where they entered the map. */ - setMap(mapId); - setPos(getPosition()); - } - // attacking if (mIsAttacking) { |