mirror of
https://github.com/edubart/otclient.git
synced 2025-04-30 01:29:21 +02:00
fix double walks on teleport
This commit is contained in:
parent
4702ea5946
commit
29f99ee9b3
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user