mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
game/client/portal: fix Polyhedron
This commit is contained in:
@@ -265,7 +265,7 @@ void CStaticCollisionPolyhedronCache::Update( void )
|
||||
m_BrushPolyhedrons[i] = pDest;
|
||||
pFinalDest += memRequired;
|
||||
|
||||
int memoryOffset = ((uint8 *)pDest) - ((uint8 *)pSource);
|
||||
intp memoryOffset = ((uint8 *)pDest) - ((uint8 *)pSource);
|
||||
|
||||
memcpy( pDest, pSource, memRequired );
|
||||
//move all the pointers to their new location.
|
||||
@@ -425,7 +425,7 @@ void CStaticCollisionPolyhedronCache::Update( void )
|
||||
m_StaticPropPolyhedrons[i] = pDest;
|
||||
pFinalDest += memRequired;
|
||||
|
||||
int memoryOffset = ((uint8 *)pDest) - ((uint8 *)pSource);
|
||||
intp memoryOffset = ((uint8 *)pDest) - ((uint8 *)pSource);
|
||||
|
||||
memcpy( pDest, pSource, memRequired );
|
||||
//move all the pointers to their new location.
|
||||
|
||||
Reference in New Issue
Block a user