mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-14 09:54:10 +00:00
Struct cleanup, various fixes, enable PS2 rand
This commit is contained in:
parent
9bfcaff849
commit
1ffc37735e
27 changed files with 93 additions and 80 deletions
|
@ -562,7 +562,7 @@ CAutomobile::ProcessControl(void)
|
|||
bWasPostponed = false;
|
||||
bHasHitWall = false;
|
||||
m_fDistanceTravelled = 0.0f;
|
||||
field_EF = false;
|
||||
m_bIsVehicleBeingShifted = false;
|
||||
m_phy_flagA80 = false;
|
||||
ApplyMoveSpeed();
|
||||
ApplyTurnSpeed();
|
||||
|
@ -2148,7 +2148,7 @@ CAutomobile::ProcessEntityCollision(CEntity *ent, CColPoint *colpoints)
|
|||
// m_aSuspensionSpringRatio are now set to the point where the tyre touches ground.
|
||||
// In ProcessControl these will be re-normalized to ignore the tyre radius.
|
||||
|
||||
if(field_EF || m_phy_flagA80 ||
|
||||
if(m_bIsVehicleBeingShifted || m_phy_flagA80 ||
|
||||
GetModelIndex() == MI_DODO && (ent->IsPed() || ent->IsVehicle())){
|
||||
// don't do line collision
|
||||
for(i = 0; i < 4; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue