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