fix arm allignment
This commit is contained in:
parent
4032336e85
commit
b31a6c1ab6
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue