diff options
| author | Japa | 2010-07-31 03:06:53 +0000 |
|---|---|---|
| committer | Japa | 2010-07-31 03:06:53 +0000 |
| commit | 641040bc8f4322e4ba9e0417e8f148c9d102dc65 (patch) | |
| tree | e300cc2ecf5e45d75899101d14cbb7542ec702fd /Block.cpp | |
| parent | f4654513350d988342b68a79548d18381cd32b55 (diff) | |
| download | stonesense-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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 );
}
|
