summaryrefslogtreecommitdiff
path: root/BlockTree.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-03-03 14:37:08 +0100
committerPetr Mrázek2012-03-03 14:37:08 +0100
commit34183f96b86394895975fb59ae3c4673cd78f502 (patch)
tree415178d0e54c119aa3326b8bce403d69a1dbb31e /BlockTree.cpp
parent58147c3138cddc2e732dd537ca8a78782f196f88 (diff)
downloadstonesense-34183f96b86394895975fb59ae3c4673cd78f502.tar.gz
stonesense-34183f96b86394895975fb59ae3c4673cd78f502.tar.bz2
stonesense-34183f96b86394895975fb59ae3c4673cd78f502.tar.xz
Get rid of Simple namespace, Gui module is now a namespace.
Diffstat (limited to 'BlockTree.cpp')
-rw-r--r--BlockTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/BlockTree.cpp b/BlockTree.cpp
index 3875862..f086160 100644
--- a/BlockTree.cpp
+++ b/BlockTree.cpp
@@ -23,7 +23,7 @@ void insert_sprite(WorldSegment *w, int x, int y, int z, Block * parent, c_sprit
w->addBlock(b_orig);
}
b_orig->building.sprites.push_back(sprite);
- if(b_orig->building.info.type == BUILDINGTYPE_NA)
+ if(b_orig->building.info.type == (building_type::building_type) BUILDINGTYPE_NA)
b_orig->building.info.type = (building_type::building_type) BUILDINGTYPE_TREE;
b_orig->building.parent = parent;
}