| 131 | } |
| 132 | |
| 133 | void VPostEffectNetEvent::process( NetConnection *pConnection ) |
| 134 | { |
| 135 | PostEffect *postEffect; |
| 136 | if ( !Sim::findObject( mPostEffect, postEffect ) ) |
| 137 | { |
| 138 | Con::warnf( "VPostEffectNetEvent::process() - Unable to find PostEffect Object '%s'", mPostEffect ); |
| 139 | return; |
| 140 | } |
| 141 | |
| 142 | if ( mEnabled ) |
| 143 | { |
| 144 | // Enable Effect. |
| 145 | postEffect->enable(); |
| 146 | } |
| 147 | else |
| 148 | { |
| 149 | // Disable Effect. |
| 150 | postEffect->disable(); |
| 151 | } |
| 152 | } |
nothing calls this directly
no test coverage detected