mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 13:00:43 +00:00
- remember custom tile type.
This commit is contained in:
parent
58c62e071c
commit
00f1043047
1 changed files with 1 additions and 0 deletions
|
@ -415,6 +415,7 @@ FGameTexture* BuildTiles::ValidateCustomTile(int tilenum, ReplacementType type)
|
||||||
if (reptype == type) return tile; // already created
|
if (reptype == type) return tile; // already created
|
||||||
if (reptype > ReplacementType::Art) return nullptr; // different custom type - cannot replace again.
|
if (reptype > ReplacementType::Art) return nullptr; // different custom type - cannot replace again.
|
||||||
FTexture* replacement = nullptr;
|
FTexture* replacement = nullptr;
|
||||||
|
td.replacement = type;
|
||||||
if (type == ReplacementType::Writable)
|
if (type == ReplacementType::Writable)
|
||||||
{
|
{
|
||||||
// Creates an empty writable tile.
|
// Creates an empty writable tile.
|
||||||
|
|
Loading…
Reference in a new issue