diff options
| -rw-r--r-- | src/factories/sm64/MovtexFactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/sm64/MovtexFactory.cpp b/src/factories/sm64/MovtexFactory.cpp index 64f01f4..5e4afd9 100644 --- a/src/factories/sm64/MovtexFactory.cpp +++ b/src/factories/sm64/MovtexFactory.cpp @@ -115,7 +115,7 @@ std::optional<std::shared_ptr<IParsedData>> SM64::MovtexFactory::parse(std::vect // Otherwise we need to know the count of vertices and the colour attribute if (!isQuad) { if (node["count"]) { - count = GetSafeNode<uint32_t>(node, "quad"); + count = GetSafeNode<uint32_t>(node, "count"); } else { SPDLOG_WARN("Non quad movtex needs count field"); } |
