Replace MAX_WADPATH with plain numbers

This is not ideal either, but I would rather
not use a constant for something unrelated.
This commit is contained in:
Louis-Antoine 2020-02-21 17:31:32 +01:00
parent ec5b88e79f
commit 472befd183
2 changed files with 2 additions and 2 deletions

View file

@ -98,7 +98,7 @@ INT32 lastfilenum = -1;
#ifdef HAVE_BLUA
luafiletransfer_t *luafiletransfers = NULL;
boolean waitingforluafiletransfer = false;
char luafiledir[MAX_WADPATH] = "luafiles";
char luafiledir[256 + 16] = "luafiles";
#endif

View file

@ -93,7 +93,7 @@ typedef struct luafiletransfer_s
extern luafiletransfer_t *luafiletransfers;
extern boolean waitingforluafiletransfer;
extern char luafiledir[MAX_WADPATH];
extern char luafiledir[256 + 16];
void AddLuaFileTransfer(const char *filename, const char *mode);
void SV_PrepareSendLuaFileToNextNode(void);