- moved tileForName out of BuildTiles.

Just pulling one change out of the big upcoming refactor commit.
This commit is contained in:
Christoph Oelckers 2022-12-08 11:49:22 +01:00
parent 630276f7e0
commit 58db09969c
9 changed files with 26 additions and 26 deletions

View file

@ -2370,7 +2370,7 @@ static void parseTileFlags(FScanner& sc, FScriptPosition& pos)
while (!sc.CheckString("}"))
{
sc.MustGetString();
int tile = TileFiles.tileForName(sc.String);
int tile = tileForName(sc.String);
if (tile == -1)
{
pos.Message(MSG_ERROR, "tileflags:Unknown tile name '%s'", sc.String);