| 117 | //----------------------------------------------------------------------------- |
| 118 | |
| 119 | void SceneSimpleZone::unpackUpdate( NetConnection* connection, BitStream* stream ) |
| 120 | { |
| 121 | Parent::unpackUpdate( connection, stream ); |
| 122 | |
| 123 | if( stream->readFlag() ) // AmbientMask |
| 124 | { |
| 125 | mUseAmbientLightColor = stream->readFlag(); |
| 126 | mAmbientLightColor.red = stream->readFloat( 7 ); |
| 127 | mAmbientLightColor.green = stream->readFloat( 7 ); |
| 128 | mAmbientLightColor.blue = stream->readFloat( 7 ); |
| 129 | mAmbientLightColor.alpha = stream->readFloat( 7 ); |
| 130 | } |
| 131 | } |
| 132 | |
| 133 | //----------------------------------------------------------------------------- |
| 134 | |