Destructible geometry - minor fixes and 3D floor support
This commit is contained in:
parent
752a64c840
commit
d85e5afdfb
17 changed files with 317 additions and 53 deletions
|
|
@ -3522,6 +3522,12 @@ FUNC(LS_Sector_SetHealth)
|
|||
if (sector->healthfloorgroup)
|
||||
P_SetHealthGroupHealth(sector->healthfloorgroup, arg2);
|
||||
}
|
||||
else if (arg1 == SECPART_3D)
|
||||
{
|
||||
sector->health3d = arg2;
|
||||
if (sector->health3dgroup)
|
||||
P_SetHealthGroupHealth(sector->health3dgroup, arg2);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue