summaryrefslogtreecommitdiff
path: root/MapLoading.cpp
diff options
context:
space:
mode:
authorJapa Illo2012-03-17 11:54:51 +0100
committerJapa Illo2012-03-17 11:54:51 +0100
commit6e2272dabb29c00f72d3230b69b78912a1339ceb (patch)
treeaf9bd1a19cb724c6465fb489ce73134f1b5cb7af /MapLoading.cpp
parent70a5c318d0ad0aae30fbe282fdcff6cc347991dd (diff)
downloadstonesense-6e2272dabb29c00f72d3230b69b78912a1339ceb.tar.gz
stonesense-6e2272dabb29c00f72d3230b69b78912a1339ceb.tar.bz2
stonesense-6e2272dabb29c00f72d3230b69b78912a1339ceb.tar.xz
Fixed some enum macros
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'MapLoading.cpp')
-rw-r--r--MapLoading.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp
index fad508c..c4d0524 100644
--- a/MapLoading.cpp
+++ b/MapLoading.cpp
@@ -350,10 +350,10 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C
//read tiletype
b->tileType = trueBlock->tiletype[lx][ly];
- b->tileShape = tiletype::get_shape(b->tileType);
- b->tileShapeBasic = tiletype_shape::get_basic_shape(b->tileShape);
- b->tileSpecial = tiletype::get_special(b->tileType);
- b->tileMaterial = tiletype::get_material(b->tileType);
+ b->tileShape = ENUM_ATTR(tiletype, shape, b->tileType);//tiletype::get_shape(b->tileType);
+ b->tileShapeBasic = ENUM_ATTR(tiletype_shape, basic_shape, b->tileShape);
+ b->tileSpecial = ENUM_ATTR(tiletype, special, b->tileType);
+ b->tileMaterial = ENUM_ATTR(tiletype, material, b->tileType);
//142,136,15