Fix POLO eating PROT ID#0 no matter where it is
This commit is contained in:
parent
06e2836726
commit
76a92d75d2
@ -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));
|
||||
|
Reference in New Issue
Block a user