mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
fix double walks on teleport
This commit is contained in:
@@ -148,6 +148,9 @@ void Game::processCreatureTeleport(const CreaturePtr& creature)
|
||||
{
|
||||
// stop walking on creature teleports
|
||||
creature->stopWalk();
|
||||
|
||||
if(creature == m_localPlayer)
|
||||
m_localPlayer->lockWalk();
|
||||
}
|
||||
|
||||
void Game::processAttackCancel()
|
||||
|
||||
Reference in New Issue
Block a user