diff options
author | Thilo Schulz <arny@ats.s.bawue.de> | 2011-06-15 22:09:26 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-10 21:28:20 +0000 |
commit | fad34584b3019a9c46b4b2255e6428ffc3aa04b3 (patch) | |
tree | 6b68be8be7b66c6671cbba3928145794b420c7e8 /src/qcommon/vm_local.h | |
parent | 7de3b3918c13d34da9a8a468ee7bbe4c70504e87 (diff) |
- Small change to search path order - local files not in .pk3s take precedence over files in pk3s. Should make life easier for modders/mappers wanting to override textures that are already contained in some older pk3 - Make VM loading more robust, change loading order: when vm_* == 0 first try loading DLL, then QVM in *each* search directory/path - Fix FS_FileForHandle that would return a FILE pointer to invalid file handle 0
Diffstat (limited to 'src/qcommon/vm_local.h')
-rw-r--r-- | src/qcommon/vm_local.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qcommon/vm_local.h b/src/qcommon/vm_local.h index c7270600..ee44133a 100644 --- a/src/qcommon/vm_local.h +++ b/src/qcommon/vm_local.h @@ -142,7 +142,8 @@ struct vm_s { //------------------------------------ - char name[MAX_QPATH]; + char name[MAX_QPATH]; + void *searchPath; // hint for FS_ReadFileDir() // for dynamic linked modules void *dllHandle; |