mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
add source-sdk-2013
This commit is contained in:
@@ -621,7 +621,7 @@ IPhysicsObject *PhysCreateWorld_Shared( CBaseEntity *pWorld, vcollide_t *pWorldC
|
||||
solid.params.enableCollisions = true;
|
||||
solid.params.pGameData = static_cast<void *>(pWorld);
|
||||
solid.params.pName = "world";
|
||||
surfaceData = physprops->GetSurfaceIndex( "default" );
|
||||
int surfaceData = physprops->GetSurfaceIndex( "default" );
|
||||
|
||||
// already created world above
|
||||
if ( solid.index == 0 )
|
||||
@@ -662,7 +662,7 @@ IPhysicsObject *PhysCreateWorld_Shared( CBaseEntity *pWorld, vcollide_t *pWorldC
|
||||
solid.params.pName = "fluid";
|
||||
solid.params.pGameData = static_cast<void *>(pWorld);
|
||||
fluid.params.pGameData = static_cast<void *>(pWorld);
|
||||
surfaceData = physprops->GetSurfaceIndex( fluid.surfaceprop );
|
||||
int surfaceData = physprops->GetSurfaceIndex( fluid.surfaceprop );
|
||||
// create this as part of the world
|
||||
IPhysicsObject *pWater = physenv->CreatePolyObjectStatic( pWorldCollide->solids[fluid.index],
|
||||
surfaceData, vec3_origin, vec3_angle, &solid.params );
|
||||
|
||||
Reference in New Issue
Block a user