lcs particle
This commit is contained in:
@@ -682,6 +682,7 @@ CBoat::ProcessControl(void)
|
||||
}
|
||||
|
||||
// Spray waterdrops on screen
|
||||
/*
|
||||
if(TheCamera.GetLookingForwardFirstPerson() && FindPlayerVehicle() && FindPlayerVehicle()->IsBoat() &&
|
||||
m_nDeltaVolumeUnderWater > 0 && numWaterDropOnScreen < 20){
|
||||
CVector dropPos;
|
||||
@@ -712,7 +713,7 @@ CBoat::ProcessControl(void)
|
||||
if(CParticle::AddParticle(PARTICLE_WATERDROP, dropPos, dropDir, nil,
|
||||
CGeneral::GetRandomNumberInRange(0.1f, 0.15f), dropColor, 0, 0, frm))
|
||||
numWaterDropOnScreen++;
|
||||
}
|
||||
}*/
|
||||
|
||||
if(m_fPrevVolumeUnderWater == 0.0f && m_fVolumeUnderWater > 0.0f && GetModelIndex() == MI_SKIMMER){
|
||||
CVector splashDir(0.0f, 0.0f, 0.25f*speed);
|
||||
|
||||
Reference in New Issue
Block a user