mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-12 19:34:01 +02:00
Make energy particles visible to LSNS ant HSWC for reals (see 6052ef6
)
This commit is contained in:
@@ -60,6 +60,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 rt = TYP(r);
|
||||
|
@@ -60,6 +60,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 rt = TYP(r);
|
||||
|
Reference in New Issue
Block a user