Make energy particles visible to LSNS ant HSWC for reals (see 6052ef6
)
This commit is contained in:
parent
02468d0786
commit
99c99132bd
@ -60,6 +60,8 @@ static int update(UPDATE_FUNC_ARGS)
|
|||||||
if (BOUNDS_CHECK && (rx || ry))
|
if (BOUNDS_CHECK && (rx || ry))
|
||||||
{
|
{
|
||||||
int r = pmap[y + ry][x + rx];
|
int r = pmap[y + ry][x + rx];
|
||||||
|
if (!r)
|
||||||
|
r = sim->photons[y + ry][x + rx];
|
||||||
if (!r)
|
if (!r)
|
||||||
continue;
|
continue;
|
||||||
int rt = TYP(r);
|
int rt = TYP(r);
|
||||||
|
@ -60,6 +60,8 @@ static int update(UPDATE_FUNC_ARGS)
|
|||||||
if (BOUNDS_CHECK && (rx || ry))
|
if (BOUNDS_CHECK && (rx || ry))
|
||||||
{
|
{
|
||||||
int r = pmap[y+ry][x+rx];
|
int r = pmap[y+ry][x+rx];
|
||||||
|
if (!r)
|
||||||
|
r = sim->photons[y+ry][x+rx];
|
||||||
if (!r)
|
if (!r)
|
||||||
continue;
|
continue;
|
||||||
int rt = TYP(r);
|
int rt = TYP(r);
|
||||||
|
Reference in New Issue
Block a user