diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvlmanager.cpp | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/linden/indra/newview/llvlmanager.cpp b/linden/indra/newview/llvlmanager.cpp index 177093c..7f483ca 100644 --- a/linden/indra/newview/llvlmanager.cpp +++ b/linden/indra/newview/llvlmanager.cpp | |||
@@ -57,11 +57,13 @@ LLVLManager::~LLVLManager() | |||
57 | 57 | ||
58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) | 58 | void LLVLManager::addLayerData(LLVLData *vl_datap, const S32 mesg_size) |
59 | { | 59 | { |
60 | if (LAND_LAYER_CODE == vl_datap->mType) | 60 | if (LAND_LAYER_CODE == vl_datap->mType || |
61 | AURORA_LAND_LAYER_CODE == vl_datap->mType) | ||
61 | { | 62 | { |
62 | mLandBits += mesg_size * 8; | 63 | mLandBits += mesg_size * 8; |
63 | } | 64 | } |
64 | else if (WIND_LAYER_CODE == vl_datap->mType) | 65 | else if (WIND_LAYER_CODE == vl_datap->mType || |
66 | AURORA_WIND_LAYER_CODE == vl_datap->mType) | ||
65 | { | 67 | { |
66 | mWindBits += mesg_size * 8; | 68 | mWindBits += mesg_size * 8; |
67 | } | 69 | } |
@@ -94,12 +96,17 @@ void LLVLManager::unpackData(const S32 num_packets) | |||
94 | { | 96 | { |
95 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); | 97 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, FALSE); |
96 | } | 98 | } |
97 | else if (WIND_LAYER_CODE == datap->mType) | 99 | else if (AURORA_LAND_LAYER_CODE == datap->mType) |
100 | { | ||
101 | datap->mRegionp->getLand().decompressDCTPatch(bit_pack, &goph, TRUE); | ||
102 | } | ||
103 | else if (WIND_LAYER_CODE == datap->mType || | ||
104 | AURORA_WIND_LAYER_CODE == datap->mType) | ||
98 | { | 105 | { |
99 | datap->mRegionp->mWind.decompress(bit_pack, &goph); | 106 | datap->mRegionp->mWind.decompress(bit_pack, &goph); |
100 | |||
101 | } | 107 | } |
102 | else if (CLOUD_LAYER_CODE == datap->mType) | 108 | else if (CLOUD_LAYER_CODE == datap->mType || |
109 | AURORA_CLOUD_LAYER_CODE == datap->mType) | ||
103 | { | 110 | { |
104 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); | 111 | datap->mRegionp->mCloudLayer.decompress(bit_pack, &goph); |
105 | } | 112 | } |