Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me)
This commit is contained in:
parent
0fb6b85706
commit
c5b9b8d28a
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user