mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-27 01:44:31 +02:00
Fix POLO eating PROT ID#0 no matter where it is
This commit is contained in:
@@ -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