Causes an object to deform
| 606 | |
| 607 | // Causes an object to deform |
| 608 | void SetDeformDamageEffect(object *obj) { |
| 609 | if (obj->effect_info) { |
| 610 | obj->effect_info->type_flags |= EF_DEFORM; |
| 611 | obj->effect_info->deform_time = 1.0; |
| 612 | obj->effect_info->deform_range = .3f; |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | #define MAX_NAPALM_DAMAGE_TIME 10.0f |
| 617 | // Causes an object to have napalm attached to it |
no outgoing calls
no test coverage detected