summaryrefslogtreecommitdiff
path: root/MapLoading.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-19 20:31:27 +0100
committerPetr Mrázek2012-02-19 20:31:27 +0100
commitb37199937ee7684da08ff36e6486ae2987d3bbb6 (patch)
treeeda6fef2df512937711caba8d9e4d2e99c1b5004 /MapLoading.cpp
parentc013085d0bd79ede547a1524809377d7fac4015d (diff)
downloadstonesense-b37199937ee7684da08ff36e6486ae2987d3bbb6.tar.gz
stonesense-b37199937ee7684da08ff36e6486ae2987d3bbb6.tar.bz2
stonesense-b37199937ee7684da08ff36e6486ae2987d3bbb6.tar.xz
Fixage required for build
Diffstat (limited to 'MapLoading.cpp')
-rw-r--r--MapLoading.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp
index 7c66ab8..7ffecfb 100644
--- a/MapLoading.cpp
+++ b/MapLoading.cpp
@@ -389,7 +389,7 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C
//include hidden blocks as shaded black
if(config.shade_hidden_blocks && isHidden && (isBlockOnVisibleEdgeOfSegment(&segment, b) || areNeighborsVisible(designations, lx, ly)))
{
- b->building.info.type = BUILDINGTYPE_BLACKBOX;
+ b->building.info.type = (building_type::building_type) BUILDINGTYPE_BLACKBOX;
shouldBeIncluded= true;
}