diff --git a/src/lua-engine.cpp b/src/lua-engine.cpp index 9c8cf327..a678d63e 100644 --- a/src/lua-engine.cpp +++ b/src/lua-engine.cpp @@ -2134,8 +2134,12 @@ static int input_get(lua_State *L) { } } } +#else + //SDL TODO: implement this for keyboard!! +#endif + // mouse position in game screen pixel coordinates - + extern void GetMouseData(uint32 (&md)[3]); uint32 MouseData[3]; @@ -2151,11 +2155,6 @@ static int input_get(lua_State *L) { lua_pushinteger(L, click); lua_setfield(L, -2, "click"); - -#else - // NYI (well, return an empty table) //SDL TODO: implement this! -#endif - return 1; }