fix double walks on teleport

This commit is contained in:
Eduardo Bart 2012-01-25 00:16:04 -02:00
parent 4702ea5946
commit 29f99ee9b3
1 changed files with 3 additions and 0 deletions

View File

@ -148,6 +148,9 @@ void Game::processCreatureTeleport(const CreaturePtr& creature)
{ {
// stop walking on creature teleports // stop walking on creature teleports
creature->stopWalk(); creature->stopWalk();
if(creature == m_localPlayer)
m_localPlayer->lockWalk();
} }
void Game::processAttackCancel() void Game::processAttackCancel()