mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
fix windows build scripts, add windows opus support
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;
|
||||
memcpy( &size, pBuffer + position, sizeof(int) );
|
||||
int size = *(int*)(pBuffer + position);
|
||||
// memcpy( &size, pBuffer + position, sizeof(int) );
|
||||
position += sizeof(int);
|
||||
|
||||
char *tmpbuf = new char[size];
|
||||
|
||||
+2
-2
@@ -39,8 +39,8 @@ def build(bld):
|
||||
'physics_virtualmesh.cpp',
|
||||
'trace.cpp',
|
||||
'vcollide_parse.cpp',
|
||||
'vphysics_saverestore.cpp'
|
||||
|
||||
'vphysics_saverestore.cpp',
|
||||
'../public/tier0/memoverride.cpp'
|
||||
]
|
||||
|
||||
includes = [
|
||||
|
||||
Reference in New Issue
Block a user