| 1700 | } |
| 1701 | |
| 1702 | void CWorldWeaponsDialog::OnDefaultSize() { |
| 1703 | int n = D3EditState.current_weapon; |
| 1704 | poly_model *pm = GetPolymodelPointer(Weapons[n].fire_image_handle); |
| 1705 | |
| 1706 | if (!pm->new_style || !(pm->flags & PMF_TIMED)) { |
| 1707 | OutrageMessageBox("This model must be a timed oof for this function to work!"); |
| 1708 | return; |
| 1709 | } |
| 1710 | |
| 1711 | ComputeDefaultSize(OBJ_WEAPON, Weapons[n].fire_image_handle, &Weapons[n].size); |
| 1712 | UpdateDialog(); |
| 1713 | } |
| 1714 | |
| 1715 | void CWorldWeaponsDialog::OnKillfocusWeaponImpactTimeEdit() { |
| 1716 | CEdit *ebox; |
nothing calls this directly
no test coverage detected