| 167 | */ |
| 168 | |
| 169 | ambientSet_t *CSetGroup::GetSet( const char *name ) |
| 170 | { |
| 171 | std::map<sstring_t, ambientSet_t *>::iterator mi; |
| 172 | |
| 173 | if ( name == NULL ) |
| 174 | return NULL; |
| 175 | |
| 176 | mi = m_setMap->find( name ); |
| 177 | |
| 178 | if ( mi == m_setMap->end() ) |
| 179 | return NULL; |
| 180 | |
| 181 | return (*mi).second; |
| 182 | } |
| 183 | |
| 184 | ambientSet_t *CSetGroup::GetSet( int ID ) |
| 185 | { |
no test coverage detected