mirror of
https://github.com/GTAmodding/re3.git
synced 2024-11-16 01:29:02 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
911f3360de
1 changed files with 1 additions and 1 deletions
|
@ -4328,7 +4328,7 @@ CAutomobile::RemoveBonnetInPedCollision(void)
|
|||
{
|
||||
CObject *obj;
|
||||
|
||||
if(Damage.GetDoorStatus(DOOR_BONNET) != DOOR_STATUS_SWINGING &&
|
||||
if(Damage.GetDoorStatus(DOOR_BONNET) == DOOR_STATUS_SWINGING &&
|
||||
Doors[DOOR_BONNET].RetAngleWhenOpen()*0.4f < Doors[DOOR_BONNET].m_fAngle){
|
||||
// BUG? why not COMPGROUP_BONNET?
|
||||
obj = SpawnFlyingComponent(CAR_BONNET, COMPGROUP_DOOR);
|
||||
|
|
Loading…
Reference in a new issue