summaryrefslogtreecommitdiff
path: root/src/simulation/elements/DSTW.cpp
diff options
context:
space:
mode:
authorcracker64 <cracker642@gmail.com>2013-05-21 20:54:37 (GMT)
committer cracker64 <cracker642@gmail.com>2013-05-21 20:54:37 (GMT)
commite1d85858710b603d5f024c5c4ddc328f4f43f628 (patch)
treebf06b4559ea3fcff629a8e18a2a181b03781489f /src/simulation/elements/DSTW.cpp
parent6fec955f41468025eb4fad028925f4b09d8647d3 (diff)
downloadpowder-e1d85858710b603d5f024c5c4ddc328f4f43f628.zip
powder-e1d85858710b603d5f024c5c4ddc328f4f43f628.tar.gz
Jacob can't into switches
Diffstat (limited to 'src/simulation/elements/DSTW.cpp')
-rw-r--r--src/simulation/elements/DSTW.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/simulation/elements/DSTW.cpp b/src/simulation/elements/DSTW.cpp
index d6b879f..b8b4124 100644
--- a/src/simulation/elements/DSTW.cpp
+++ b/src/simulation/elements/DSTW.cpp
@@ -67,10 +67,6 @@ int Element_DSTW::update(UPDATE_FUNC_ARGS)
}
break;
case PT_SLTW:
- if (!(rand()%100))
- {
- sim->part_change_type(i,x,y,PT_WATR);
- }
if (!(rand()%2000))
{
sim->part_change_type(i,x,y,PT_SLTW);