Recast: remove packing directives from dtNavMesh

The size is 0x90 (confirmed from buf alloc at [r5apex_ds + F43425]). The packing caused it to be 0x8C in size due to missing trailing 4 bytes (which aren't used in the engine). Packing removed to pad it out to 0x90.
This commit is contained in:
Kawe Mazidjatari 2024-07-05 10:40:16 +02:00
parent 615f63d82a
commit ae29992284

View File

@ -408,7 +408,6 @@ struct dtNavMeshParams
int magicDataCount;
};
#pragma pack(push, 4)
/// A navigation mesh based on tiles of convex polygons.
/// @ingroup detour
class dtNavMesh
@ -764,7 +763,6 @@ public:
#endif
friend class dtNavMeshQuery;
};
#pragma pack(pop)
/// Returns the total size needed for the static pathing table.
/// @param[in] numPolyGroups The total number of poly groups.