mirror of
https://github.com/edubart/otclient.git
synced 2025-12-21 07:57:12 +01:00
Speed up compilation time for luafunctions
* Other compile fixes for gcc
This commit is contained in:
@@ -354,10 +354,10 @@ void Game::processRuleViolationLock()
|
||||
g_lua.callGlobalField("g_game", "onRuleViolationLock");
|
||||
}
|
||||
|
||||
void Game::processVipAdd(uint id, const std::string& name, uint status)
|
||||
void Game::processVipAdd(uint id, const std::string& name, uint status, int iconId, bool notifyLogin)
|
||||
{
|
||||
m_vips[id] = Vip(name, status);
|
||||
g_lua.callGlobalField("g_game", "onAddVip", id, name, status);
|
||||
g_lua.callGlobalField("g_game", "onAddVip", id, name, status, iconId, notifyLogin);
|
||||
}
|
||||
|
||||
void Game::processVipStateChange(uint id, uint status)
|
||||
|
||||
Reference in New Issue
Block a user