summaryrefslogtreecommitdiff
path: root/src/simulation/elements/PLNT.cpp
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-27 16:10:55 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-27 16:10:55 (GMT)
commitc1320d200735ab3a0e25d169a4bb329de2bb40ba (patch)
tree16c44f1ac29b19ba7e4020b5e8fde413768e71e8 /src/simulation/elements/PLNT.cpp
parent776b2f6607acf43ec64f0479001d049a4cc0d854 (diff)
downloadpowder-c1320d200735ab3a0e25d169a4bb329de2bb40ba.zip
powder-c1320d200735ab3a0e25d169a4bb329de2bb40ba.tar.gz
fix sim.loadStamp return value, remove VINE_MODE
Diffstat (limited to 'src/simulation/elements/PLNT.cpp')
-rw-r--r--src/simulation/elements/PLNT.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/elements/PLNT.cpp b/src/simulation/elements/PLNT.cpp
index 61218d5..99890e6 100644
--- a/src/simulation/elements/PLNT.cpp
+++ b/src/simulation/elements/PLNT.cpp
@@ -81,7 +81,7 @@ int Element_PLNT::update(UPDATE_FUNC_ARGS)
}
break;
case PT_WOOD:
- if (surround_space && !(rand()%4) && (abs(rx+ry)<=2) && (sim->VINE_MODE || parts[i].tmp==1))
+ if (surround_space && !(rand()%4) && (abs(rx+ry)<=2) && parts[i].tmp==1)
{
int nnx = rand()%3 -1;
int nny = rand()%3 -1;