| 765 | } |
| 766 | |
| 767 | int CCollision::GetSwitchNumber(int Index) const |
| 768 | { |
| 769 | if(Index < 0 || !m_pSwitch) |
| 770 | return 0; |
| 771 | |
| 772 | if(m_pSwitch[Index].m_Type > 0 && m_pSwitch[Index].m_Number > 0) |
| 773 | return m_pSwitch[Index].m_Number; |
| 774 | |
| 775 | return 0; |
| 776 | } |
| 777 | |
| 778 | int CCollision::GetSwitchDelay(int Index) const |
| 779 | { |
no outgoing calls
no test coverage detected