| 430 | cargoAmmo = nullptr; |
| 431 | } |
| 432 | |
| 433 | void DisplayUnitInfo::Reload(const ParamEntry& clsEntry) |
| 434 | { |
| 435 | Init(); |
| 436 | InitControls(); |
| 437 | Load(clsEntry); |
| 438 | } |
| 439 | |
| 440 | Control* DisplayUnitInfo::OnCreateCtrl(int type, int idc, const ParamEntry& cls) |
| 441 | { |
| 442 | switch (idc) |
| 443 | { |