summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/pyro.c1
-rw-r--r--src/elements/wtrv.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/elements/pyro.c b/src/elements/pyro.c
index 985151a..bd6ab26 100644
--- a/src/elements/pyro.c
+++ b/src/elements/pyro.c
@@ -14,6 +14,7 @@ int update_PYRO(UPDATE_FUNC_ARGS) {
t = PT_DSTW;
part_change_type(i,x,y,t);
parts[i].life = 0;
+ parts[i].ctype = PT_FIRE;
}
else if (parts[i].temp<625)
{
diff --git a/src/elements/wtrv.c b/src/elements/wtrv.c
index cfa6c5d..a4facde 100644
--- a/src/elements/wtrv.c
+++ b/src/elements/wtrv.c
@@ -15,7 +15,7 @@ int update_WTRV(UPDATE_FUNC_ARGS) {
parts[i].life = 4;
}
}
- if(parts[i].temp>1273)
+ if(parts[i].temp>1273&&parts[i].ctype==PT_FIRE)
parts[i].temp-=parts[i].temp/1000;
return 0;
}