From 00f1043047fc64560e6b0824c2da5b5187d86095 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 30 May 2020 11:46:49 +0200 Subject: [PATCH] - remember custom tile type. --- source/core/textures/buildtiles.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/textures/buildtiles.cpp b/source/core/textures/buildtiles.cpp index b95cd0471..a73099e06 100644 --- a/source/core/textures/buildtiles.cpp +++ b/source/core/textures/buildtiles.cpp @@ -415,6 +415,7 @@ FGameTexture* BuildTiles::ValidateCustomTile(int tilenum, ReplacementType type) if (reptype == type) return tile; // already created if (reptype > ReplacementType::Art) return nullptr; // different custom type - cannot replace again. FTexture* replacement = nullptr; + td.replacement = type; if (type == ReplacementType::Writable) { // Creates an empty writable tile.