From 4af4f5bd6b3621f2872599c5290f45cb4049b6a3 Mon Sep 17 00:00:00 2001 From: Jonas Kulla Date: Wed, 9 Oct 2013 18:07:19 +0200 Subject: [PATCH] Ensure attached autotiles aren't mega surfaces --- src/tilemap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tilemap.cpp b/src/tilemap.cpp index 7a776aa..9e660c3 100644 --- a/src/tilemap.cpp +++ b/src/tilemap.cpp @@ -491,6 +491,9 @@ struct TilemapPrivate if (autotiles[i]->isDisposed()) continue; + if (autotiles[i]->megaSurface()) + continue; + usableATs.append(i); autotiles[i]->flush();