]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/mg_decoration.h
Fix on_rightclick() being called directly after placing node
[dragonfireclient.git] / src / mg_decoration.h
index 056748918c2dc0d24b73551b08e880154a0d9325..16af02a1a478cd5ab840c8b0baa8d7c4b2cbbb80 100644 (file)
@@ -41,6 +41,7 @@ enum DecorationType {
 #define DECO_PLACE_CENTER_Z  0x04
 #define DECO_USE_NOISE       0x08
 #define DECO_FORCE_PLACEMENT 0x10
+#define DECO_LIQUID_SURFACE  0x20
 
 extern FlagDesc flagdesc_deco[];
 
@@ -84,7 +85,7 @@ class Decoration : public ObjDef, public NodeResolver {
 
        std::set<u8> biomes;
        //std::list<CutoffData> cutoffs;
-       //JMutex cutoff_mutex;
+       //Mutex cutoff_mutex;
 };
 
 class DecoSimple : public Decoration {