@@ -2079,6 +2079,10 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
20792079 {
20802080 BITCOUNT7 = 1
20812081 };
2082+ enum
2083+ {
2084+ BITCOUNT8 = 1
2085+ };
20822086
20832087 bool Read (NetBitStreamInterface& bitStream)
20842088 {
@@ -2112,6 +2116,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
21122116 isOK &= bitStream.ReadBits (reinterpret_cast <char *>(&data7), BITCOUNT7);
21132117 else
21142118 data7.flyingcomponents = true ;
2119+
2120+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_VehicleBurnExplosions))
2121+ isOK &= bitStream.ReadBits (reinterpret_cast <char *>(&data8), BITCOUNT8);
2122+ else
2123+ data8.vehicleburnexplosions = true ;
21152124
21162125 // // Example for adding item:
21172126 // if (bitStream.Can(eBitStreamVersion::YourProperty))
@@ -2142,6 +2151,9 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
21422151 if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_FlyingComponents))
21432152 bitStream.WriteBits (reinterpret_cast <const char *>(&data7), BITCOUNT7);
21442153
2154+ if (bitStream.Can (eBitStreamVersion::WorldSpecialProperty_VehicleBurnExplosions))
2155+ bitStream.WriteBits (reinterpret_cast <const char *>(&data8), BITCOUNT8);
2156+
21452157 // // Example for adding item:
21462158 // if (bitStream.Can(eBitStreamVersion::YourProperty))
21472159 // bitStream.WriteBits(reinterpret_cast<const char*>(&data9), BITCOUNT9);
@@ -2193,6 +2205,11 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
21932205 {
21942206 bool flyingcomponents : 1 ;
21952207 } data7;
2208+
2209+ struct
2210+ {
2211+ bool vehicleburnexplosions : 1 ;
2212+ } data8;
21962213
21972214 SWorldSpecialPropertiesStateSync ()
21982215 {
@@ -2215,6 +2232,7 @@ struct SWorldSpecialPropertiesStateSync : public ISyncStructure
22152232 data5.tunnelweatherblend = true ;
22162233 data6.ignoreFireState = false ;
22172234 data7.flyingcomponents = true ;
2235+ data8.vehicleburnexplosions = true ;
22182236 }
22192237};
22202238
0 commit comments