summaryrefslogtreecommitdiff
path: root/Block.cpp
diff options
context:
space:
mode:
authorJapa2010-07-31 03:06:53 +0000
committerJapa2010-07-31 03:06:53 +0000
commit641040bc8f4322e4ba9e0417e8f148c9d102dc65 (patch)
treee300cc2ecf5e45d75899101d14cbb7542ec702fd /Block.cpp
parentf4654513350d988342b68a79548d18381cd32b55 (diff)
downloadstonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.gz
stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.bz2
stonesense-641040bc8f4322e4ba9e0417e8f148c9d102dc65.tar.xz
added the ability to set tiles according to the surroundings.
Diffstat (limited to 'Block.cpp')
-rw-r--r--Block.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Block.cpp b/Block.cpp
index d430fa3..5dffe0c 100644
--- a/Block.cpp
+++ b/Block.cpp
@@ -313,6 +313,7 @@ void Block::Draw(){
else
{
spriteNum = SPRITEOBJECT_WATERLEVEL1_LAVA + waterlevel - 1;
+ spatter = al_map_rgb(255,255,255);
}
DrawSpriteFromSheet( spriteNum, IMGObjectSheet, spatter, drawx, drawy );
}