From 8f88d5fac0372ca29dd657138b654e7c968d135a Mon Sep 17 00:00:00 2001 From: ttimo Date: Tue, 15 Nov 2022 10:28:14 -0600 Subject: [PATCH] fix loading pointfile for KexQ2 --- radiant/points.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radiant/points.cpp b/radiant/points.cpp index b0e8e4bf..55caba9c 100644 --- a/radiant/points.cpp +++ b/radiant/points.cpp @@ -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 ) {