summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/ttan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/ttan.c b/src/elements/ttan.c
index d0ff4ce..0fa735a 100644
--- a/src/elements/ttan.c
+++ b/src/elements/ttan.c
@@ -17,7 +17,7 @@
int update_TTAN(UPDATE_FUNC_ARGS) {
int nx, ny, ttan = 0;
- if(nt<8)
+ if(nt<=6)
{
for (nx=-1; nx<2; nx++)
for (ny=-1; ny<2; ny++) {