diff options
| author | Japa Illo | 2012-02-19 18:02:52 +0530 |
|---|---|---|
| committer | Japa Illo | 2012-02-19 18:02:52 +0530 |
| commit | 8f1887c90e249b83e70d950891df037e95fb6a02 (patch) | |
| tree | 0270271bff03eb31596e8ae8545e497c60a360f8 /WorldSegment.cpp | |
| parent | 7c346109c5b370a226a46585cfa2e461b0d100d0 (diff) | |
| download | stonesense-8f1887c90e249b83e70d950891df037e95fb6a02.tar.gz stonesense-8f1887c90e249b83e70d950891df037e95fb6a02.tar.bz2 stonesense-8f1887c90e249b83e70d950891df037e95fb6a02.tar.xz | |
got rid of floorType, wallType, etc, for good.
Signed-off-by: Japa Illo <japa.mala.illo@gmail.com>
Diffstat (limited to 'WorldSegment.cpp')
| -rw-r--r-- | WorldSegment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WorldSegment.cpp b/WorldSegment.cpp index a1a3197..e6f4a0d 100644 --- a/WorldSegment.cpp +++ b/WorldSegment.cpp @@ -233,7 +233,7 @@ void WorldSegment::drawAllBlocks(){ for(int32_t vsy=1; vsy < vsymax; vsy++)
{
Block *b = getBlockLocal(vsx,vsy,vsz);
- if (b==NULL || (b->floorType == 0 && b->ramp.type == 0 && b->wallType == 0))
+ if (b==NULL || (b->tileShapeBasic!=tiletype_shape_basic::Floor && b->tileShapeBasic!=tiletype_shape_basic::Ramp && b->tileShapeBasic==tiletype_shape_basic::Wall))
{
Block* bLow = getBlockLocal(vsx,vsy,vsz-1);
if (bLow != NULL)
|
