mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-30 14:09:19 +00:00
arm64 : fix intptr_t size
This commit is contained in:
+2
-2
@@ -523,7 +523,7 @@ public:
|
||||
int m_nLeafWaterDataID;
|
||||
};
|
||||
|
||||
bool EnumerateLeaf( int leaf, int context )
|
||||
bool EnumerateLeaf( int leaf, intp context )
|
||||
{
|
||||
BoxIntersectWaterContext_t *pSearchContext = ( BoxIntersectWaterContext_t * )context;
|
||||
mleaf_t *pLeaf = &host_state.worldmodel->brush.pShared->leafs[leaf];
|
||||
@@ -541,7 +541,7 @@ public:
|
||||
BoxIntersectWaterContext_t context;
|
||||
context.m_bFoundWaterLeaf = false;
|
||||
context.m_nLeafWaterDataID = leafWaterDataID;
|
||||
g_pToolBSPTree->EnumerateLeavesInBox( mins, maxs, this, ( int )&context );
|
||||
g_pToolBSPTree->EnumerateLeavesInBox( mins, maxs, this, ( intp )&context );
|
||||
return context.m_bFoundWaterLeaf;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user