mirror of
https://github.com/edubart/otclient.git
synced 2025-12-24 16:57:11 +01:00
diagonal walking, there is a map bug
This commit is contained in:
@@ -87,6 +87,18 @@ void Game::walk(Otc::Direction direction)
|
||||
case Otc::West:
|
||||
m_protocolGame->sendWalkWest();
|
||||
break;
|
||||
case Otc::NorthEast:
|
||||
m_protocolGame->sendWalkNorthEast();
|
||||
break;
|
||||
case Otc::SouthEast:
|
||||
m_protocolGame->sendWalkSouthEast();
|
||||
break;
|
||||
case Otc::SouthWest:
|
||||
m_protocolGame->sendWalkSouthWest();
|
||||
break;
|
||||
case Otc::NorthWest:
|
||||
m_protocolGame->sendWalkNorthWest();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user