summaryrefslogtreecommitdiff
path: root/src/elements/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pipe.c')
-rw-r--r--src/elements/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/pipe.c b/src/elements/pipe.c
index 93eec4e..4bd1799 100644
--- a/src/elements/pipe.c
+++ b/src/elements/pipe.c
@@ -100,7 +100,7 @@ int update_PIPE(UPDATE_FUNC_ARGS) {
}
else if (!r)
continue;
- else if (parts[i].tmp == 0 && (ptypes[r&0xFF].falldown!= 0 || pstates[r&0xFF].state == ST_GAS))
+ else if (parts[i].tmp == 0 && (ptypes[r&0xFF].falldown!= 0 || ptypes[r&0xFF].state == ST_GAS))
{
parts[i].tmp = parts[r>>8].type;
parts[i].temp = parts[r>>8].temp;