Browse Source

fix arm allignment

pull/85/head
HappyDOGE 2 years ago
parent
commit
0aa1fe0b8d
  1. 4
      vphysics/physics_collide.cpp

4
vphysics/physics_collide.cpp

@ -1637,8 +1637,8 @@ void CPhysicsCollision::VCollideLoad( vcollide_t *pOutput, int solidCount, const @@ -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];

Loading…
Cancel
Save