TPT: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) c5b9b8d28a

This commit is contained in:
Simon Robertshaw 2012-06-12 18:50:43 +01:00
parent af5c399c24
commit 1ccdc1dc12

View File

@ -172,6 +172,7 @@ int Element_TRON::new_tronhead(Simulation * sim, int x, int y, int i, int direct
return -1;
if (sim->parts[i].life >= 100) // increase tail length
{
if (!(sim->parts[i].tmp&TRON_NOGROW))
sim->parts[i].tmp2++;
sim->parts[i].life = 5;
}