| 626 | } |
| 627 | |
| 628 | void CentralScene::ClearScene |
| 629 | ( |
| 630 | uint32 sceneID |
| 631 | ) |
| 632 | { |
| 633 | |
| 634 | uint8 _instance; |
| 635 | if (m_TimersSet.find(sceneID) != m_TimersSet.end()) { |
| 636 | _instance = m_TimersSet.at(sceneID); |
| 637 | } else { |
| 638 | Log::Write( LogLevel_Warning, "Can't find Timer in TimerSet List"); |
| 639 | return; |
| 640 | } |
| 641 | |
| 642 | if( ValueList* value = static_cast<ValueList*>( GetValue( _instance, sceneID ) ) ) |
| 643 | { |
| 644 | /* plus one, as we have our own "inactive" entry at index 0 */ |
| 645 | value->OnValueRefreshed( 0 ); |
| 646 | value->Release(); |
| 647 | } |
| 648 | m_TimersSet.erase(sceneID); |
| 649 | |
| 650 | } |
nothing calls this directly
no test coverage detected