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
|
||||
creature->stopWalk();
|
||||
|
||||
if(creature == m_localPlayer)
|
||||
m_localPlayer->lockWalk();
|
||||
}
|
||||
|
||||
void Game::processAttackCancel()
|
||||
|
|
Loading…
Reference in New Issue