]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/nodedef.h
Fix MinGW build
[dragonfireclient.git] / src / nodedef.h
index 067861e62314de54db23eeb791e8080db2056926..c0322d9199d18d7048dde3ed993b97f023e8606b 100644 (file)
@@ -90,7 +90,7 @@ struct NodeBox
        { reset(); }
 
        void reset();
-       void serialize(std::ostream &os) const;
+       void serialize(std::ostream &os, u16 protocol_version) const;
        void deSerialize(std::istream &is);
 };
 
@@ -228,7 +228,7 @@ struct ContentFeatures
        std::string freezemelt;
        // Number of flowing liquids surrounding source
        u8 liquid_range;
-       bool drowning;
+       u8 drowning;
        // Amount of light the node emits
        u8 light_source;
        u32 damage_per_second;