| 70 | } |
| 71 | } |
| 72 | void IGame_Persistent::Start(LPCSTR op) |
| 73 | { |
| 74 | string256 prev_type; |
| 75 | strcpy_s(prev_type, m_game_params.m_game_type); |
| 76 | |
| 77 | m_game_params.parse_cmd_line(op); |
| 78 | |
| 79 | if ((0 != xr_strcmp(prev_type, m_game_params.m_game_type))) |
| 80 | { |
| 81 | if (*m_game_params.m_game_type) |
| 82 | OnGameStart(); |
| 83 | } |
| 84 | else |
| 85 | UpdateGameType(); |
| 86 | |
| 87 | VERIFY(ps_destroy.empty()); |
| 88 | } |
| 89 | |
| 90 | void IGame_Persistent::Disconnect() |
| 91 | { |
no test coverage detected