| 626 | } |
| 627 | } |
| 628 | void CCar::detach_Actor() |
| 629 | { |
| 630 | if (!Owner()) |
| 631 | return; |
| 632 | Owner()->setVisible(1); |
| 633 | CHolderCustom::detach_Actor(); |
| 634 | PPhysicsShell()->remove_ObjectContactCallback(ActorObstacleCallback); |
| 635 | NeutralDrive(); |
| 636 | Unclutch(); |
| 637 | ResetKeys(); |
| 638 | m_current_rpm = m_min_rpm; |
| 639 | HUD().GetUI()->UIMainIngameWnd->CarPanel().Show(false); |
| 640 | /// Break(); |
| 641 | // H_SetParent(NULL); |
| 642 | HandBreak(); |
| 643 | processing_deactivate(); |
| 644 | #ifdef DEBUG |
| 645 | DBgClearPlots(); |
| 646 | #endif |
| 647 | } |
| 648 | |
| 649 | bool CCar::attach_Actor(CGameObject* actor) |
| 650 | { |
no test coverage detected