Skip to content
Browse files

Don't remove snow covering with cleanmap.

  • Loading branch information...
1 parent 404c079 commit d4b8b8df64d9bad82799ff4cbb2cdbe7a5da9dc3 @peterix peterix committed Oct 8, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 tools/supported/cleanmap.cpp
View
3 tools/supported/cleanmap.cpp
@@ -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);

0 comments on commit d4b8b8d

Please sign in to comment.
Something went wrong with that request. Please try again.