mirror of
https://github.com/celisej567/source-engine.git
synced 2025-12-31 21:48:22 +03:00
fix arm allignment
This commit is contained in:
@@ -1637,8 +1637,8 @@ void CPhysicsCollision::VCollideLoad( vcollide_t *pOutput, int solidCount, const
|
||||
|
||||
for ( int i = 0; i < solidCount; i++ )
|
||||
{
|
||||
int size = *(int*)(pBuffer + position);
|
||||
// memcpy( &size, pBuffer + position, sizeof(int) );
|
||||
int size;
|
||||
memcpy( &size, pBuffer + position, sizeof(int) );
|
||||
position += sizeof(int);
|
||||
|
||||
char *tmpbuf = new char[size];
|
||||
|
||||
Reference in New Issue
Block a user