summaryrefslogtreecommitdiff
path: root/src/simulation/elements/BIZR.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/simulation/elements/BIZR.cpp')
-rw-r--r--src/simulation/elements/BIZR.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulation/elements/BIZR.cpp b/src/simulation/elements/BIZR.cpp
index 13df996..f2327de 100644
--- a/src/simulation/elements/BIZR.cpp
+++ b/src/simulation/elements/BIZR.cpp
@@ -82,7 +82,7 @@ int Element_BIZR::update(UPDATE_FUNC_ARGS)
}
}
}
- if(((r = sim->photons[y][x])&0xFF)==PT_PHOT || ((r = pmap[y][x])&0xFF)==PT_PHOT)
+ if(((r = sim->photons[y][x])&0xFF)==PT_PHOT)
{
sim->part_change_type(r>>8, x, y, PT_ELEC);
parts[r>>8].ctype = 0;
@@ -121,4 +121,4 @@ int Element_BIZR::graphics(GRAPHICS_FUNC_ARGS)
}
-Element_BIZR::~Element_BIZR() {} \ No newline at end of file
+Element_BIZR::~Element_BIZR() {}