utility: fix filename of generated shade table (#298)

This commit is contained in:
Anonymous Maarten 2023-03-08 20:47:33 +01:00 committed by GitHub
parent 12e941081a
commit 2bdfa07550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -856,6 +856,7 @@ void BuildShadeTablePath(char* pThe_path, int pR, int pG, int pB) {
s[6] = 'A' + ((pB & 0xf0) >> 4);
s[7] = 'A' + ((pB & 0x0f) >> 0);
s[8] = '\0';
strcat(s, ".TAB");
PathCat(pThe_path, gApplication_path, "SHADETAB");
PathCat(pThe_path, pThe_path, s);
}