mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Recast: improve code readability for calcStaticPathingTableSize
This commit is contained in:
parent
00ec2c41e2
commit
3c8dc10b50
@ -759,7 +759,7 @@ public:
|
||||
/// @ingroup detour
|
||||
inline int calcStaticPathingTableSize(const int numPolyGroups)
|
||||
{
|
||||
return sizeof(int)*numPolyGroups*((numPolyGroups+31)/32);
|
||||
return sizeof(int)*(numPolyGroups*((numPolyGroups+31)/32));
|
||||
}
|
||||
|
||||
/// Allocates a navigation mesh object using the Detour allocator.
|
||||
|
Loading…
x
Reference in New Issue
Block a user