================= UI_UpdateCvars ================= */
| 3660 | ================= |
| 3661 | */ |
| 3662 | void UI_UpdateCvars( void ) |
| 3663 | { |
| 3664 | size_t i = 0; |
| 3665 | const cvarTable_t *cv = NULL; |
| 3666 | |
| 3667 | for ( i=0, cv=cvarTable; i<cvarTableSize; i++, cv++ ) { |
| 3668 | if ( cv->vmCvar ) { |
| 3669 | int modCount = cv->vmCvar->modificationCount; |
| 3670 | Cvar_Update( cv->vmCvar ); |
| 3671 | if ( cv->vmCvar->modificationCount != modCount ) { |
| 3672 | if ( cv->update ) |
| 3673 | cv->update(); |
| 3674 | } |
| 3675 | } |
| 3676 | } |
| 3677 | } |
| 3678 | |
| 3679 | /* |
| 3680 | ================= |
no test coverage detected