From c5b9b8d28a841915bb26e64f703e75b69c724ac1 Mon Sep 17 00:00:00 2001 From: cracker64 Date: Tue, 22 May 2012 23:26:28 -0300 Subject: Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) diff --git a/src/elements/tron.c b/src/elements/tron.c index 98a46e9..f6ee3d7 100644 --- a/src/elements/tron.c +++ b/src/elements/tron.c @@ -47,7 +47,8 @@ int new_tronhead(int x, int y, int i, int direction) return -1; if (parts[i].life >= 100) // increase tail length { - parts[i].tmp2++; + if (!(parts[i].tmp&TRON_NOGROW)) + parts[i].tmp2++; parts[i].life = 5; } //give new head our properties -- cgit v0.9.2-21-gd62e