mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 03:30:46 +00:00
Amend r4142: make e.g. 'include a' (names shorter 4 chars) append ".m32".
DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@4168 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2972155f14
commit
ffed49b395
1 changed files with 1 additions and 1 deletions
|
@ -3741,7 +3741,7 @@ void C_Compile(const char *filenameortext, int32_t isfilename)
|
||||||
fp = kopen4load(mptr, 0 /*g_loadFromGroupOnly*/);
|
fp = kopen4load(mptr, 0 /*g_loadFromGroupOnly*/);
|
||||||
if (fp == -1) // JBF: was 0
|
if (fp == -1) // JBF: was 0
|
||||||
{
|
{
|
||||||
if (fs >= 4 && Bmemcmp(&mptr[fs-4], ".m32", 4) != 0)
|
if (fs < 4 || Bmemcmp(&mptr[fs-4], ".m32", 4) != 0)
|
||||||
{
|
{
|
||||||
Bstrcat(&mptr[fs], ".m32");
|
Bstrcat(&mptr[fs], ".m32");
|
||||||
fp = kopen4load(mptr, 0 /*g_loadFromGroupOnly*/);
|
fp = kopen4load(mptr, 0 /*g_loadFromGroupOnly*/);
|
||||||
|
|
Loading…
Reference in a new issue