diff options
| author | inspectredc <78732756+inspectredc@users.noreply.github.com> | 2024-07-09 00:18:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-08 17:18:48 -0600 |
| commit | e342a34f9c9cc6038baaad63451d07f7c3e0e96b (patch) | |
| tree | 28b00b5858e3f99db0e73347493c004ca7178d1d | |
| parent | 40da02be28ea30cd4add7d3c2c6b4d438cbe0674 (diff) | |
read the correct movtex count field (#142)
| -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"); } |
