mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-02-03 07:01:14 +00:00
fix loading pointfile for KexQ2
This commit is contained in:
parent
1c498433ce
commit
8f88d5fac0
1 changed files with 5 additions and 1 deletions
|
@ -127,7 +127,11 @@ void WINAPI Pointfile_Check( void ){
|
|||
|
||||
strcpy( name, currentmap );
|
||||
StripExtension( name );
|
||||
strcat( name, ".lin" );
|
||||
if ( g_pGameDescription->mGameFile == Q2_REMASTER_GAME ) {
|
||||
strcat(name, ".pts");
|
||||
} else {
|
||||
strcat(name, ".lin");
|
||||
}
|
||||
|
||||
size = vfsLoadFullPathFile( name, (void**)&data );
|
||||
if ( size <= 0 ) {
|
||||
|
|
Loading…
Reference in a new issue