QCC_Include now uses the path to the current file as base for #include and
#includelist (this way one can share code between different qcs more easily). git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1242 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
cd19c7ac80
commit
19df459786
1 changed files with 3 additions and 0 deletions
|
@ -8452,6 +8452,9 @@ pbool QCC_Include(char *filename)
|
|||
else
|
||||
{
|
||||
strcpy(fname, qccmsourcedir);
|
||||
strcpy(fname, strings + s_file );
|
||||
StripFilename( fname );
|
||||
strcat( fname, "/" );
|
||||
strcat(fname, filename);
|
||||
}
|
||||
QCC_LoadFile(fname, (void*)&newfile);
|
||||
|
|
Loading…
Reference in a new issue