mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-13 19:24:09 +00:00
CObject complete
This commit is contained in:
parent
6473778c47
commit
a8f7bf0bec
10 changed files with 316 additions and 29 deletions
|
@ -2814,7 +2814,7 @@ CAutomobile::ProcessBuoyancy(void)
|
|||
CVector impulse, point;
|
||||
|
||||
if(mod_Buoyancy.ProcessBuoyancy(this, m_fBuoyancy, &point, &impulse)){
|
||||
m_flagD8 = true;
|
||||
bTouchingWater = true;
|
||||
ApplyMoveForce(impulse);
|
||||
ApplyTurnForce(impulse, point);
|
||||
|
||||
|
@ -2899,7 +2899,7 @@ CAutomobile::ProcessBuoyancy(void)
|
|||
}
|
||||
}else{
|
||||
bIsInWater = false;
|
||||
m_flagD8 = false;
|
||||
bTouchingWater = false;
|
||||
|
||||
static RwRGBA splashCol = {155, 155, 185, 196};
|
||||
static RwRGBA smokeCol = {255, 255, 255, 255};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue