- fixed typo in serialization error message

This commit is contained in:
alexey.lysiuk 2020-08-27 09:57:36 +03:00
parent 2e2ee33a98
commit dad0a6f977

View file

@ -263,7 +263,7 @@ template<> FSerializer &Serialize(FSerializer &ar, const char *key, line_t *&val
template<> FSerializer &Serialize(FSerializer &ar, const char *key, vertex_t *&value, vertex_t **defval) template<> FSerializer &Serialize(FSerializer &ar, const char *key, vertex_t *&value, vertex_t **defval)
{ {
auto arc = dynamic_cast<FDoomSerializer*>(&ar); auto arc = dynamic_cast<FDoomSerializer*>(&ar);
if (!arc || arc->Level == nullptr) I_Error("Trying to serialize verte without a valid level"); if (!arc || arc->Level == nullptr) I_Error("Trying to serialize vertex without a valid level");
return SerializePointer(*arc, key, value, defval, arc->Level->vertexes); return SerializePointer(*arc, key, value, defval, arc->Level->vertexes);
} }