2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-12-07 19:57:48 +00:00

chore: use auto instead of repeated types

This commit is contained in:
Jan Laupetin
2025-11-09 22:09:06 +01:00
parent afe0fd76c1
commit c4f3c0eaa0
9 changed files with 46 additions and 46 deletions

View File

@@ -13,7 +13,7 @@ namespace BSP
{
// Pretty sure maxSkinnedVerts relates to the max amount of xmodel skinned verts a map will have
// But setting it to the world vertex count seems to work
T6::SkinnedVertsDef* skinnedVerts = m_memory.Alloc<T6::SkinnedVertsDef>();
auto* skinnedVerts = m_memory.Alloc<T6::SkinnedVertsDef>();
skinnedVerts->name = m_memory.Dup("skinnedverts");
skinnedVerts->maxSkinnedVerts = static_cast<unsigned int>(bsp.gfxWorld.vertices.size());