| 754 | } |
| 755 | |
| 756 | int CCollision::GetSwitchType(int Index) const |
| 757 | { |
| 758 | if(Index < 0 || !m_pSwitch) |
| 759 | return 0; |
| 760 | |
| 761 | if(m_pSwitch[Index].m_Type > 0) |
| 762 | return m_pSwitch[Index].m_Type; |
| 763 | |
| 764 | return 0; |
| 765 | } |
| 766 | |
| 767 | int CCollision::GetSwitchNumber(int Index) const |
| 768 | { |
no outgoing calls
no test coverage detected