mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-07-16 10:02:59 -07:00
Added fixes based on the reviews
This commit is contained in:
parent
8a6ee00a21
commit
e945a86d46
5 changed files with 60 additions and 70 deletions
|
@ -1585,8 +1585,8 @@ void BgCheck_Allocate(CollisionContext* colCtx, GlobalContext* globalCtx, Collis
|
|||
BgCheck_SetSubdivisionDimension(colCtx->minBounds.z, colCtx->subdivAmount.z, &colCtx->maxBounds.z,
|
||||
&colCtx->subdivLength.z, &colCtx->subdivLengthInv.z);
|
||||
|
||||
#ifdef _SOH64
|
||||
colCtx->memSize *= (sizeof(void*) / 4);
|
||||
#ifdef _SOH64 // BGCheck needs more memory on 64 bits because it crashes on some areas
|
||||
colCtx->memSize *= 2;
|
||||
#endif
|
||||
|
||||
memSize = colCtx->subdivAmount.x * sizeof(StaticLookup) * colCtx->subdivAmount.y * colCtx->subdivAmount.z +
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue