mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-18 14:11:16 +02:00
TPT: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) c5b9b8d28a
This commit is contained in:
@@ -172,7 +172,8 @@ 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
|
||||
{
|
||||
sim->parts[i].tmp2++;
|
||||
if (!(sim->parts[i].tmp&TRON_NOGROW))
|
||||
sim->parts[i].tmp2++;
|
||||
sim->parts[i].life = 5;
|
||||
}
|
||||
//give new head our properties
|
||||
|
Reference in New Issue
Block a user