| 532 | } |
| 533 | } |
| 534 | void CExplosive::HideExplosive() |
| 535 | { |
| 536 | CGameObject* GO = cast_game_object(); |
| 537 | GO->setVisible(FALSE); |
| 538 | GO->setEnabled(FALSE); |
| 539 | CPhysicsShell* phshell = (smart_cast<CPhysicsShellHolder*>(GO))->PPhysicsShell(); |
| 540 | if (phshell) |
| 541 | { |
| 542 | phshell->Disable(); |
| 543 | phshell->DisableCollision(); |
| 544 | } |
| 545 | m_bAlreadyHidden = true; |
| 546 | }; |
| 547 | |
| 548 | void CExplosive::OnEvent(NET_Packet& P, u16 type) |
| 549 | { |
nothing calls this directly
no test coverage detected