TPT: Don't hide stickman when energy particles pass through his head 9f0c4857e
This commit is contained in:
parent
e0ab8c5810
commit
95a9b96dc9
@ -804,7 +804,7 @@ void Renderer::render_parts()
|
|||||||
fnx = sim->parts[i].x;
|
fnx = sim->parts[i].x;
|
||||||
fny = sim->parts[i].y;
|
fny = sim->parts[i].y;
|
||||||
|
|
||||||
if((sim->photons[ny][nx]&0xFF) && !(elements[t].Properties & TYPE_ENERGY))
|
if((sim->photons[ny][nx]&0xFF) && !(sim->elements[t].Properties & TYPE_ENERGY) && t!=PT_STKM && t!=PT_STKM2 && t!=PT_FIGH)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
//Defaults
|
//Defaults
|
||||||
|
Reference in New Issue
Block a user