@@ -2040,6 +2040,10 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
20402040 {
20412041 BITCOUNT4 = 1
20422042 };
2043+ enum
2044+ {
2045+ BITCOUNT5 = 1
2046+ };
20432047
20442048 bool Read (NetBitStreamInterface& bitStream)
20452049 {
@@ -2059,6 +2063,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
20592063 else
20602064 data4.extendedwatercannons = true ;
20612065
2066+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_TunnelWeatherBlend))
2067+ isOK &= bitStream.ReadBits (reinterpret_cast <char *>(&data5), BITCOUNT5);
2068+ else
2069+ data5.tunnelweatherblend = true ;
2070+
20622071 // // Example for adding item:
20632072 // if (bitStream.Can(eBitStreamVersion::YourProperty))
20642073 // isOK &= bitStream.ReadBits(reinterpret_cast<char*>(&data9), BITCOUNT9);
@@ -2079,6 +2088,9 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
20792088 if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_ExtendedWaterCannons))
20802089 bitStream.WriteBits (reinterpret_cast <const char *>(&data4), BITCOUNT4);
20812090
2091+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_TunnelWeatherBlend))
2092+ bitStream.WriteBits (reinterpret_cast <const char *>(&data5), BITCOUNT5);
2093+
20822094 // // Example for adding item:
20832095 // if (bitStream.Can(eBitStreamVersion::YourProperty))
20842096 // bitStream.WriteBits(reinterpret_cast<const char*>(&data9), BITCOUNT9);
@@ -2116,6 +2128,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
21162128 bool extendedwatercannons : 1 ;
21172129 } data4;
21182130
2131+ struct
2132+ {
2133+ bool tunnelweatherblend : 1 ;
2134+ } data5;
2135+
21192136 SWorldSpecialPropertiesStateSync ()
21202137 {
21212138 // Set default states
@@ -2134,6 +2151,7 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
21342151 data2.fireballdestruct = true ;
21352152 data3.roadsignstext = true ;
21362153 data4.extendedwatercannons = true ;
2154+ data5.tunnelweatherblend = true ;
21372155 }
21382156};
21392157
0 commit comments