| 577 | } |
| 578 | |
| 579 | void CPda::OnHiddenItem() |
| 580 | { |
| 581 | if (!this_is_3d_pda || !smart_cast<CActor*>(H_Parent())) |
| 582 | return; |
| 583 | |
| 584 | SwitchState(eHiding); |
| 585 | |
| 586 | if (!psActorFlags.test(AF_3D_PDA)) |
| 587 | return; |
| 588 | |
| 589 | auto pGameSP = smart_cast<CUIGameSP*>(HUD().GetUI()->UIGame()); |
| 590 | pGameSP->ShowHidePda(false); |
| 591 | } |
| 592 | |
| 593 | CPda::~CPda() |
| 594 | { |
nothing calls this directly
no test coverage detected