mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +02:00
ensure DMG turns WOOD to SAWD
This commit is contained in:
@@ -96,6 +96,8 @@ int Element_DMG::update(UPDATE_FUNC_ARGS)
|
|||||||
sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_BRMT);
|
sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_BRMT);
|
||||||
parts[rr>>8].ctype = PT_TUNG;
|
parts[rr>>8].ctype = PT_TUNG;
|
||||||
}
|
}
|
||||||
|
else if (t == PT_WOOD)
|
||||||
|
sim->part_change_type(rr>>8, x+nxi, y+nxj, PT_SAWD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user