Fixes texture mapping palette function

- Fixes syntax error within texture mapping palette function’s “texture
mapping type” integer read from file.