Fix POLO eating PROT ID#0 no matter where it is

This commit is contained in:
jacob1 2019-04-09 22:11:14 -04:00
parent 06e2836726
commit 76a92d75d2

View File

@ -91,7 +91,7 @@ int Element_POLO::update(UPDATE_FUNC_ARGS)
parts[i].temp = (parts[i].temp+600.0f)/2.0f;
return 1;
}
if (parts[ID(r)].type == PT_PROT)
if (TYP(r) == PT_PROT)
{
parts[i].tmp2++;
sim->kill_part(ID(r));