----------------------------------------------------------------------------- Return the Scene ValueID's to defaults, after the duration has expired -----------------------------------------------------------------------------
| 139 | // Return the Scene ValueID's to defaults, after the duration has expired |
| 140 | //----------------------------------------------------------------------------- |
| 141 | void SceneActivation::ClearScene(uint32 _instance) { |
| 142 | if( ValueInt* value = static_cast<ValueInt*>( GetValue( _instance, SceneActivationIndex_SceneID ) ) ) |
| 143 | { |
| 144 | value->OnValueRefreshed( 0 ); |
| 145 | value->Release(); |
| 146 | } |
| 147 | if( ValueInt* value = static_cast<ValueInt*>( GetValue( _instance, SceneActivationIndex_Duration ) ) ) |
| 148 | { |
| 149 | value->OnValueRefreshed( 0 ); |
| 150 | value->Release(); |
| 151 | } |
| 152 | } |
| 153 | |
| 154 | |
| 155 |
nothing calls this directly
no test coverage detected