Might as well use REQUIRE_GLOBAL

develop
Warmist 2018-10-12 10:40:44 +03:00
parent cb9c964722
commit f74ee143dd
1 changed files with 2 additions and 2 deletions

@ -36,13 +36,13 @@ REQUIRE_GLOBAL_NO_USE(twbt_render_map)
void render_map(){ _render_map(0); }
#else
REQUIRE_GLOBAL_NO_USE(map_renderer)
REQUIRE_GLOBAL(map_renderer)
typedef void(*RENDER_MAP)(void*, int);
RENDER_MAP _render_map;
void render_map(){ _render_map(df::global::map_renderer,0); }
void render_map(){ _render_map(map_renderer,0); }
#endif
static int render_map_rect(lua_State* L)
{