mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-27 03:24:15 +01:00
fixed firetruck crash
This commit is contained in:
parent
b0e4f40f44
commit
c794b59a7c
@ -4328,7 +4328,7 @@ CAutomobile::RemoveBonnetInPedCollision(void)
|
|||||||
{
|
{
|
||||||
CObject *obj;
|
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){
|
Doors[DOOR_BONNET].RetAngleWhenOpen()*0.4f < Doors[DOOR_BONNET].m_fAngle){
|
||||||
// BUG? why not COMPGROUP_BONNET?
|
// BUG? why not COMPGROUP_BONNET?
|
||||||
obj = SpawnFlyingComponent(CAR_BONNET, COMPGROUP_DOOR);
|
obj = SpawnFlyingComponent(CAR_BONNET, COMPGROUP_DOOR);
|
||||||
|
Loading…
Reference in New Issue
Block a user