diff --git a/src/common/Variant.h b/src/common/Variant.h index 4592a2fa9..dd8b68fac 100644 --- a/src/common/Variant.h +++ b/src/common/Variant.h @@ -48,7 +48,6 @@ public: static Variant *fromLua(lua_State *L, int n, bool allowTables = true); void toLua(lua_State *L); -private: enum Type { UNKNOWN = 0, @@ -74,6 +73,8 @@ private: void *userdata; std::vector > *table; } data; + +private: love::Type udatatype; bits flags;