From c5b9b8d28a841915bb26e64f703e75b69c724ac1 Mon Sep 17 00:00:00 2001 From: cracker64 Date: Tue, 22 May 2012 23:26:28 -0300 Subject: [PATCH] Make tron follow TRON_NOGROW , thought that was in there.... (github edit because cate is annoying me) --- src/elements/tron.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/elements/tron.c b/src/elements/tron.c index 98a46e9b2..f6ee3d7ee 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