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