================= idFileSystemLocal::RemoveFile ================= */
| 940 | ================= |
| 941 | */ |
| 942 | void idFileSystemLocal::RemoveFile( const char *relativePath ) { |
| 943 | idStr OSPath; |
| 944 | |
| 945 | if ( fs_devpath.GetString()[0] ) { |
| 946 | OSPath = BuildOSPath( fs_devpath.GetString(), gameFolder, relativePath ); |
| 947 | remove( OSPath ); |
| 948 | } |
| 949 | |
| 950 | OSPath = BuildOSPath( fs_savepath.GetString(), gameFolder, relativePath ); |
| 951 | remove( OSPath ); |
| 952 | |
| 953 | ClearDirCache(); |
| 954 | } |
| 955 | |
| 956 | /* |
| 957 | ================ |
no test coverage detected