mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
Neighbour check should be less or equal to 6 to find 2 TTAN
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
int update_TTAN(UPDATE_FUNC_ARGS) {
|
int update_TTAN(UPDATE_FUNC_ARGS) {
|
||||||
int nx, ny, ttan = 0;
|
int nx, ny, ttan = 0;
|
||||||
if(nt<8)
|
if(nt<=6)
|
||||||
{
|
{
|
||||||
for (nx=-1; nx<2; nx++)
|
for (nx=-1; nx<2; nx++)
|
||||||
for (ny=-1; ny<2; ny++) {
|
for (ny=-1; ny<2; ny++) {
|
||||||
|
Reference in New Issue
Block a user