]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/object_properties.cpp
Fix two reconnect bugs
[dragonfireclient.git] / src / object_properties.cpp
index abd1bbd0929361619ff264ee4ca90aaecd5a017f..89ca26274a805b239e20431e0b45442dd92f7572 100644 (file)
@@ -118,6 +118,7 @@ void ObjectProperties::serialize(std::ostream &os) const
        os << serializeString(nametag);
        writeARGB8(os, nametag_color);
        writeF1000(os, automatic_face_movement_max_rotation_per_sec);
+       os << serializeString(infotext);
 
        // Add stuff only at the bottom.
        // Never remove anything, because we don't want new versions of this
@@ -159,6 +160,7 @@ void ObjectProperties::deSerialize(std::istream &is)
                        nametag = deSerializeString(is);
                        nametag_color = readARGB8(is);
                        automatic_face_movement_max_rotation_per_sec = readF1000(is);
+                       infotext = deSerializeString(is);
                }catch(SerializationError &e){}
        }
        else