Don't remove snow covering with cleanmap.

develop
Petr Mrázek 2010-10-08 05:06:13 +02:00
parent 404c079ad7
commit d4b8b8df64
1 changed files with 2 additions and 1 deletions

@ -58,7 +58,8 @@ int main (void)
for(uint32_t i = 0; i < splatter.size(); i++)
{
DFHack::t_spattervein & vein = splatter[i];
if(vein.mat1 != 0xC)
// filter away snow and mud
if(vein.mat1 != 0xC && vein.mat1 != 0x6)
{
uint32_t addr = vein.address_of;
uint32_t offset = offsetof(DFHack::t_spattervein, intensity);