mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-24 13:55:31 +03:00
Fix Combine dropships not dropping APCs correctly after save/load
This commit is contained in:
parent
15f321d4e9
commit
5cc53c10ee
@ -999,7 +999,11 @@ void CNPC_CombineDropship::Spawn( void )
|
|||||||
IPhysicsObject *pPhysicsObject = m_hContainer->VPhysicsGetObject();
|
IPhysicsObject *pPhysicsObject = m_hContainer->VPhysicsGetObject();
|
||||||
if ( pPhysicsObject )
|
if ( pPhysicsObject )
|
||||||
{
|
{
|
||||||
|
#ifdef MAPBASE
|
||||||
|
pPhysicsObject->SetShadow( 1e4, 1e4, true, true ); // (allowing physics movement and rotation)
|
||||||
|
#else
|
||||||
pPhysicsObject->SetShadow( 1e4, 1e4, false, false );
|
pPhysicsObject->SetShadow( 1e4, 1e4, false, false );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
m_hContainer->SetParent(this, 0);
|
m_hContainer->SetParent(this, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user