TPT: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) c5b9b8d28a
This commit is contained in:
parent
af5c399c24
commit
1ccdc1dc12
@ -172,6 +172,7 @@ int Element_TRON::new_tronhead(Simulation * sim, int x, int y, int i, int direct
|
|||||||
return -1;
|
return -1;
|
||||||
if (sim->parts[i].life >= 100) // increase tail length
|
if (sim->parts[i].life >= 100) // increase tail length
|
||||||
{
|
{
|
||||||
|
if (!(sim->parts[i].tmp&TRON_NOGROW))
|
||||||
sim->parts[i].tmp2++;
|
sim->parts[i].tmp2++;
|
||||||
sim->parts[i].life = 5;
|
sim->parts[i].life = 5;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user