textmessage

This commit is contained in:
Henrique
2011-09-04 14:21:42 -03:00
parent bdbfa5b6ac
commit b69dc5487f
6 changed files with 69 additions and 19 deletions

View File

@@ -97,9 +97,9 @@ void Game::processLogout()
}
}
void Game::processTextMessage(const std::string& message)
void Game::processTextMessage(int type, const std::string& message)
{
g_lua.callGlobalField("Game","onTextMessage", message);
g_lua.callGlobalField("Game","onTextMessage", type, message);
}
void Game::walk(Otc::Direction direction)