summaryrefslogtreecommitdiff
path: root/src/elements/h2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/h2.c')
-rw-r--r--src/elements/h2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/h2.c b/src/elements/h2.c
index 04f3d01..c601108 100644
--- a/src/elements/h2.c
+++ b/src/elements/h2.c
@@ -9,7 +9,7 @@ int update_H2(UPDATE_FUNC_ARGS)
{
r = pmap[y+ry][x+rx];
rt = (r&0xFF);
- if ((r>>8)>=NPART || !r)
+ if (!r)
continue;
if (pv[y/CELL][x/CELL] > 8.0f && rt == PT_DESL) // This will not work. DESL turns to fire above 5.0 pressure
{