fix possible crash when disconnecting, fix status small message

This commit is contained in:
Eduardo Bart
2012-01-26 15:23:47 -02:00
parent 1983a08cbe
commit e8767d3971
2 changed files with 5 additions and 2 deletions

View File

@@ -257,6 +257,9 @@ void Game::walk(Otc::Direction direction)
void Game::forceWalk(Otc::Direction direction)
{
if(!isOnline() || !checkBotProtection())
return;
switch(direction) {
case Otc::North:
m_protocolGame->sendWalkNorth();