...Make the the server buildable again after the last commit
authorPerttu Ahola <celeron55@gmail.com>
Tue, 18 Oct 2011 14:20:54 +0000 (17:20 +0300)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 18 Oct 2011 14:20:54 +0000 (17:20 +0300)
src/mapnode.h

index 61f172eda69794d9e374cfeed546ae4e3170e75f..fb7244322421bc8fc5bfabd6d08e8356f89688fe 100644 (file)
@@ -103,9 +103,6 @@ class NodeMetadata;
 struct ContentFeatures
 {
 #ifndef SERVER
-       // List of all block textures that have been used (value is dummy)
-       core::map<std::string, bool> used_texturenames;
-       
        /*
                0: up
                1: down
@@ -127,6 +124,10 @@ struct ContentFeatures
        AtlasPointer *special_atlas;
 #endif
 
+       // List of all block textures that have been used (value is dummy)
+       // Exists on server too for cleaner code in content_mapnode.cpp
+       core::map<std::string, bool> used_texturenames;
+       
        // Type of MapNode::param1
        ContentParamType param_type;
        // True for all ground-like things like stone and mud, false for eg. trees