mirror of
https://github.com/halpz/re3.git
synced 2025-06-29 17:26:21 +00:00
CObject complete
This commit is contained in:
@ -15027,7 +15027,7 @@ CPed::ProcessBuoyancy(void)
|
||||
#endif
|
||||
|
||||
if (mod_Buoyancy.ProcessBuoyancy(this, GRAVITY * m_fMass * buoyancyLevel, &buoyancyPoint, &buoyancyImpulse)) {
|
||||
m_flagD8 = true;
|
||||
bTouchingWater = true;
|
||||
CEntity *entity;
|
||||
CColPoint point;
|
||||
if (CWorld::ProcessVerticalLine(GetPosition(), GetPosition().z - 3.0f, point, entity, false, true, false, false, false, false, false)
|
||||
@ -15093,7 +15093,7 @@ CPed::ProcessBuoyancy(void)
|
||||
} else
|
||||
return;
|
||||
} else
|
||||
m_flagD8 = false;
|
||||
bTouchingWater = false;
|
||||
|
||||
if (nGenerateWaterCircles && CTimer::GetTimeInMilliseconds() >= nGenerateWaterCircles) {
|
||||
CVector pos = GetPosition();
|
||||
|
@ -964,7 +964,7 @@ CPopulation::ConvertToRealObject(CDummyObject *dummy)
|
||||
} else if (obj->m_modelIndex == MI_BUOY) {
|
||||
obj->bIsStatic = false;
|
||||
obj->m_vecMoveSpeed = CVector(0.0f, 0.0f, -0.001f);
|
||||
obj->m_flagD8 = true;
|
||||
obj->bTouchingWater = true;
|
||||
obj->AddToMovingList();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user