Bind g_minimap.updateTile to lua

This is needed to update tile removals from minimap widget.
This commit is contained in:
Ahmed Samy 2013-12-11 19:08:12 +02:00
parent 04515ffbb8
commit ece6507df2
1 changed files with 1 additions and 0 deletions

View File

@ -146,6 +146,7 @@ void Client::registerLuaFunctions()
g_lua.bindSingletonFunction("g_map", "findItemsById", &Map::findItemsById, &g_map);
g_lua.registerSingletonClass("g_minimap");
g_lua.bindSingletonFunction("g_minimap", "updateTile", &Minimap::updateTile, &g_minimap);
g_lua.bindSingletonFunction("g_minimap", "clean", &Minimap::clean, &g_minimap);
g_lua.bindSingletonFunction("g_minimap", "loadImage", &Minimap::loadImage, &g_minimap);
g_lua.bindSingletonFunction("g_minimap", "saveImage", &Minimap::saveImage, &g_minimap);