summaryrefslogtreecommitdiff
path: root/src/simulation/elements/VINE.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-07-25 14:32:05 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-07-25 14:32:05 (GMT)
commit2189d298a7ae718b9d483cc3925bcb8fee854281 (patch)
treeb5922ae28bb578b926c2856f1681f1b08392777f /src/simulation/elements/VINE.cpp
parentfad383f3923cc04fb8b2ecd7a72cf5406832cf5d (diff)
downloadpowder-2189d298a7ae718b9d483cc3925bcb8fee854281.zip
powder-2189d298a7ae718b9d483cc3925bcb8fee854281.tar.gz
TPT: Move INST flood fill into a separate function 36de2f19f5
Diffstat (limited to 'src/simulation/elements/VINE.cpp')
-rw-r--r--src/simulation/elements/VINE.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/simulation/elements/VINE.cpp b/src/simulation/elements/VINE.cpp
index 991dfc4..04c90bf 100644
--- a/src/simulation/elements/VINE.cpp
+++ b/src/simulation/elements/VINE.cpp
@@ -60,6 +60,7 @@ int Element_VINE::update(UPDATE_FUNC_ARGS)
np = sim->create_part(-1,x+rx,y+ry,PT_VINE);
if (np<0) return 0;
parts[np].temp = parts[i].temp;
+ parts[i].tmp = 1;
sim->part_change_type(i,x,y,PT_PLNT);
}
}