diff options
| author | Japa Illo | 2012-03-17 11:54:51 +0100 |
|---|---|---|
| committer | Japa Illo | 2012-03-17 11:54:51 +0100 |
| commit | 6e2272dabb29c00f72d3230b69b78912a1339ceb (patch) | |
| tree | af9bd1a19cb724c6465fb489ce73134f1b5cb7af | |
| parent | 70a5c318d0ad0aae30fbe282fdcff6cc347991dd (diff) | |
| download | stonesense-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>
| -rw-r--r-- | MapLoading.cpp | 8 |
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
|
