- fixed compilation with GCC 5 and newer

src/r_data/a_dynlightdata.cpp:72:44: error: no matching function for call to ‘FSerializer::Array(const char [5], int [5], int, std::nullptr_t)’
This commit is contained in:
alexey.lysiuk 2019-07-07 11:51:34 +03:00
parent 1aeef146e0
commit 7d88e2ec6b

View file

@ -69,7 +69,7 @@ FSerializer &Serialize(FSerializer &arc, const char *key, FLightDefaults &value,
if (arc.BeginObject(key))
{
arc("name", value.m_Name)
.Array("args", value.m_Args, 5, nullptr)
.Array("args", value.m_Args, 5)
("param", value.m_Param)
("pos", value.m_Pos)
("type", value.m_type)