| 143 | //----------------------------------------------------------------------------- |
| 144 | |
| 145 | void SFXState::deactivate() |
| 146 | { |
| 147 | if( !mActiveCount ) |
| 148 | return; |
| 149 | |
| 150 | mActiveCount --; |
| 151 | if( !mActiveCount && !isDisabled() ) |
| 152 | _onDeactivate(); |
| 153 | } |
| 154 | |
| 155 | //----------------------------------------------------------------------------- |
| 156 |
no test coverage detected