Allow "texture" as an alias to "floor"

Since we I'm using it for Tripwire too
This commit is contained in:
Sally Coolatta 2021-12-09 16:32:31 -05:00 committed by SinnamonLat
parent 1e0f9faf19
commit ee8f7468bb

View file

@ -970,7 +970,7 @@ static boolean K_TERRAINLumpParser(UINT8 *data, size_t size)
valid = false; valid = false;
} }
} }
else if (stricmp(tkn, "floor") == 0) else if (stricmp(tkn, "floor") == 0 || stricmp(tkn, "texture") == 0)
{ {
Z_Free(tkn); Z_Free(tkn);
tkn = M_GetToken(NULL); tkn = M_GetToken(NULL);