============ idCVarSystemLocal::SetCVarsFromDict ============ */
| 884 | ============ |
| 885 | */ |
| 886 | void idCVarSystemLocal::SetCVarsFromDict( const idDict &dict ) { |
| 887 | idInternalCVar *internal; |
| 888 | |
| 889 | for( int i = 0; i < dict.GetNumKeyVals(); i++ ) { |
| 890 | const idKeyValue *kv = dict.GetKeyVal( i ); |
| 891 | internal = FindInternal( kv->GetKey() ); |
| 892 | if ( internal ) { |
| 893 | internal->InternalServerSetString( kv->GetValue() ); |
| 894 | } |
| 895 | } |
| 896 | } |
| 897 | |
| 898 | /* |
| 899 | ============ |
no test coverage detected