summaryrefslogtreecommitdiff
path: root/Block.cpp
diff options
context:
space:
mode:
authorJapa2011-03-08 19:41:58 +0000
committerJapa2011-03-08 19:41:58 +0000
commitb64e4f3d69a7844f17f27a401e50d6bd0657ea4f (patch)
tree9ffc7700a1eceb2e570e569c78f6d82a64991e9f /Block.cpp
parentf48019c52cc1848a06749d10d294756bb95fba61 (diff)
downloadstonesense-b64e4f3d69a7844f17f27a401e50d6bd0657ea4f.tar.gz
stonesense-b64e4f3d69a7844f17f27a401e50d6bd0657ea4f.tar.bz2
stonesense-b64e4f3d69a7844f17f27a401e50d6bd0657ea4f.tar.xz
added more creatures, some tree related fixes.
Diffstat (limited to 'Block.cpp')
-rw-r--r--Block.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/Block.cpp b/Block.cpp
index c5b28af..ac36ef9 100644
--- a/Block.cpp
+++ b/Block.cpp
@@ -212,19 +212,6 @@ void Block::Draw(){
spriteobject->set_tile_layout(BLOCKTILE);
}
- //Grass
- if(this->grasslevel > 0 && (
- (tileTypeTable[this->floorType].m == GRASS) ||
- (tileTypeTable[this->floorType].m == GRASS2) ||
- (tileTypeTable[this->floorType].m == GRASS_DEAD) ||
- (tileTypeTable[this->floorType].m == GRASS_DRY)))
- {
- c_block_tree * vegetationsprite = 0;
- vegetationsprite = getVegetationTree(contentLoader.grassConfigs,grassmat,true,true);
- if(vegetationsprite)
- vegetationsprite->draw_world(x, y, z, this);
- }
-
drawFloorBlood ( this, drawx, drawy );
//first part of snow