Fix Combine dropships not dropping APCs correctly after save/load

This commit is contained in:
Blixibon 2022-10-26 22:09:32 -05:00
parent 15f321d4e9
commit 5cc53c10ee

View File

@ -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);