diff options
| author | Petr Mrázek | 2012-03-16 20:39:58 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-16 20:39:58 +0100 |
| commit | fa17ba5de0a003c135150516cd9c80205ac3f9f1 (patch) | |
| tree | ece7bd7bc6869a1c82a2210aae8dd0ee1a062682 | |
| parent | bb7bcc00c4eb2e46e5d7141fb2d0ce8a30386568 (diff) | |
| download | stonesense-fa17ba5de0a003c135150516cd9c80205ac3f9f1.tar.gz stonesense-fa17ba5de0a003c135150516cd9c80205ac3f9f1.tar.bz2 stonesense-fa17ba5de0a003c135150516cd9c80205ac3f9f1.tar.xz | |
Fixes for newly added enum traits
| -rw-r--r-- | MapLoading.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MapLoading.cpp b/MapLoading.cpp index fad508c..d37ca20 100644 --- a/MapLoading.cpp +++ b/MapLoading.cpp @@ -348,12 +348,12 @@ void ReadCellToSegment(DFHack::Core& DF, WorldSegment& segment, int CellX, int C b->water.index = trueBlock->designation[lx][ly].bits.flow_size;
}
- //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);
+ //read tiletype
+ b->tileType = trueBlock->tiletype[lx][ly];
+ b->tileShape = tileShape(b->tileType);
+ b->tileShapeBasic = tileShapeBasic(b->tileShape);
+ b->tileSpecial = tileSpecial(b->tileType);
+ b->tileMaterial = tileMaterial(b->tileType);
//142,136,15
|
