Make energy particles visible to LSNS ant HSWC for deserialization
This commit is contained in:
parent
00ddc1f8be
commit
6052ef6179
@ -63,6 +63,8 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
if (BOUNDS_CHECK && (rx || ry))
|
||||
{
|
||||
r = pmap[y+ry][x+rx];
|
||||
if (!r)
|
||||
r = sim->photons[y+ry][x+rx];
|
||||
if (!r)
|
||||
continue;
|
||||
if (TYP(r) == PT_HSWC)
|
||||
|
@ -124,6 +124,8 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
if (BOUNDS_CHECK && (rx || ry))
|
||||
{
|
||||
int r = pmap[y + ry][x + rx];
|
||||
if (!r)
|
||||
r = sim->photons[y + ry][x + rx];
|
||||
if (!r)
|
||||
continue;
|
||||
int nx = x + rx;
|
||||
|
Loading…
Reference in New Issue
Block a user