summaryrefslogtreecommitdiff
blob: 0f6cac2e94c7d37a1d9789733aa9844285d57abc (plain)
1
2
3
4
5
6
7
8
9
10
11
--- AlephOne-20120514/Source_Files/Lua/lua_templates.h
+++ AlephOne-20120514/Source_Files/Lua/lua_templates.h
@@ -496,7 +496,7 @@
 	static index_t ToIndex(lua_State *L, int index) {
 		index_t to;
 		if(lua_isnil(L, index)) return -1;
-		else if(_lookup(L, index, to)) return to;
+		else if(L_LazyEnum::_lookup(L, index, to)) return to;
 		else {
 			std::string error;
 			if(lua_isnumber(L, index) || lua_isstring(L, index))