diagonal walking, there is a map bug

This commit is contained in:
Henrique
2011-08-29 02:54:28 -03:00
parent aacf98b45c
commit b859f66952
7 changed files with 106 additions and 14 deletions

View File

@@ -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;
}
}