diff --git a/stepmania/src/LuaBinding.h b/stepmania/src/LuaBinding.h index 524192cc1e..1137a527a5 100644 --- a/stepmania/src/LuaBinding.h +++ b/stepmania/src/LuaBinding.h @@ -170,7 +170,7 @@ private: #define LUA_REGISTER_DERIVED_CLASS( T, B ) \ template<> const char *Luna::m_sClassName = #T; \ template<> const char *Luna::m_sBaseClassName = #B; \ - Luna::RegTypeVector* Luna::s_pvMethods = NULL; \ + template<> Luna::RegTypeVector* Luna::s_pvMethods = NULL; \ static Luna##T registera; \ void T::PushSelf( lua_State *L ) { Luna##T::Push( L, this ); } \ /* Call PushSelf, so we always call the derived Luna::Push. */ \