mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2024-11-10 06:31:48 +00:00
fixed drop errors when opening demos in subdirectories on Linux
This commit is contained in:
parent
b60db6b1f0
commit
609e11f11d
2 changed files with 6 additions and 3 deletions
|
@ -2,11 +2,11 @@
|
|||
See the end of this file for known issues.
|
||||
|
||||
|
||||
20 Sep 23 - 1.53
|
||||
29 Sep 23 - 1.53
|
||||
|
||||
add: /registerdemos adds Windows file associations for demo files (.dm_68 .dm_67 .dm_66)
|
||||
/unregisterdemos removes Windows file associations for demo files
|
||||
in addition, /demo can now play demo files that have an absolute path (e.g. /demo C:\test.dm_68)
|
||||
on Windows, /demo can now play demo files that have an absolute path (e.g. /demo C:\test.dm_68)
|
||||
|
||||
add: r_teleporterFlash <0|1> (default: 1) draws bright colors when being teleported (use 0 for black)
|
||||
|
||||
|
|
|
@ -761,5 +761,8 @@ qbool Sys_IsDebuggerAttached()
|
|||
|
||||
qbool Sys_IsAbsolutePath( const char* path )
|
||||
{
|
||||
return path[0] == '/';
|
||||
// when the mod feeds us a relative demo file path with a leading slash,
|
||||
// we then think it's an absolute file path and fail to open the file...
|
||||
// bad: return path[0] == '/';
|
||||
return qfalse;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue