Handle Kart-specific changes; add PK3 to exttable

This commit is contained in:
mazmazz 2018-12-15 20:50:33 -05:00
parent b32f50648d
commit 0a3b3736bf
2 changed files with 3 additions and 3 deletions

View File

@ -552,7 +552,7 @@ filestatus_t filesearch(char *filename, const char *startpath, const UINT8 *want
char exttable[NUM_EXT_TABLE][7] = { // maximum extension length (currently 4) plus 3 (null terminator, stop, and length including previous two)
"\5.txt", "\5.cfg", // exec
"\5.wad", "\6.kart", /*"\5.pk3",*/ "\5.soc", "\5.lua"}; // addfile
"\5.wad", "\6.kart", "\5.pk3", "\5.soc", "\5.lua"}; // addfile
char filenamebuf[MAX_WADFILES][MAX_WADPATH];

View File

@ -1256,7 +1256,7 @@ int W_VerifyNMUSlumps(const char *filename)
{"PAL", 3}, // Palette changes
{"CLM", 3}, // Colormap changes
{"TRANS", 5}, // Translucency map
#if 0
{"LTFNT", 5}, // Level title font changes
{"STCFN", 5}, // Console font changes
{"TNYFN", 5}, // Tiny console font changes
@ -1264,7 +1264,7 @@ int W_VerifyNMUSlumps(const char *filename)
{"M_", 2}, // Menu changes
{"K_", 2}, // Kart graphic changes
#endif
{NULL, 0},
};
return W_VerifyFile(filename, NMUSlist, false);