summaryrefslogtreecommitdiff
path: root/src/simulation/elements/NEUT.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-03-03 00:07:00 (GMT)
committer jacob1 <jfu614@gmail.com>2013-03-03 00:07:00 (GMT)
commit846d7d8064cf84c6b4e55a8a0417e7e605e0d144 (patch)
treeff8006377ff9508734e34247347e6efe3c239ed1 /src/simulation/elements/NEUT.cpp
parent85cb4b37c93baa3e227fa6a93c8312b9ab0fb6c3 (diff)
downloadpowder-846d7d8064cf84c6b4e55a8a0417e7e605e0d144.zip
powder-846d7d8064cf84c6b4e55a8a0417e7e605e0d144.tar.gz
allow NEUT to travel through ICE and SNOW, and for it to turn OIL to GAS (both like inextremely old versions)
Diffstat (limited to 'src/simulation/elements/NEUT.cpp')
-rw-r--r--src/simulation/elements/NEUT.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/elements/NEUT.cpp b/src/simulation/elements/NEUT.cpp
index 471ae81..8a98ffa 100644
--- a/src/simulation/elements/NEUT.cpp
+++ b/src/simulation/elements/NEUT.cpp
@@ -134,6 +134,7 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
sim->create_part(r>>8, x+rx, y+ry, PT_WOOD);
break;
case PT_DESL:
+ case PT_OIL:
if (3>(rand()%200))
sim->part_change_type(r>>8,x+rx,y+ry,PT_GAS);
break;