Don't hide stickman when energy particles pass through his head

This commit is contained in:
jacksonmj 2012-05-12 01:32:15 +01:00
parent da6d5b348a
commit 9f0cb4857e

View File

@ -1802,7 +1802,7 @@ void render_parts(pixel *vid)
flx = parts[i].lastX;
fly = parts[i].lastY;
if(photons[ny][nx]&0xFF && !(ptypes[t].properties & TYPE_ENERGY))
if(photons[ny][nx]&0xFF && !(ptypes[t].properties & TYPE_ENERGY) && t!=PT_STKM && t!=PT_STKM2 && t!=PT_FIGH)
continue;
//Defaults