aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-10-18 17:20:54 +0300
committerPerttu Ahola <celeron55@gmail.com>2011-10-18 17:20:54 +0300
commitfe98fe342a65c995bbc59470549417f38311366b (patch)
treefd37af3c763d56bac6d1d20d98454d18f606e077
parent554f7f120c4bc99a2c9c944b951662b95a03a9d4 (diff)
downloadminetest-fe98fe342a65c995bbc59470549417f38311366b.tar.gz
minetest-fe98fe342a65c995bbc59470549417f38311366b.tar.bz2
minetest-fe98fe342a65c995bbc59470549417f38311366b.zip
...Make the the server buildable again after the last commit
-rw-r--r--src/mapnode.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mapnode.h b/src/mapnode.h
index 61f172eda..fb7244322 100644
--- a/src/mapnode.h
+++ b/src/mapnode.h
@@ -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