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

This commit is contained in:
cracker64 2012-05-22 23:26:28 -03:00
parent 0fb6b85706
commit c5b9b8d28a

View File

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