mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-10 06:31:41 +00:00
Fix STVEF game support install routine
This commit is contained in:
parent
ae32550cb4
commit
1777877774
1 changed files with 2 additions and 2 deletions
|
@ -3720,10 +3720,10 @@ void CGameInstall::Run() {
|
|||
fprintf( fg, " caulk_shader=\"textures/common/caulk\"\n" );
|
||||
// Hardcoded fix for "missing" shaderlist in gamepack
|
||||
Str dest = m_strEngine.GetBuffer();
|
||||
dest += "/base/scripts/shaderlist.txt";
|
||||
dest += "/baseEF/scripts/shaderlist.txt";
|
||||
if( CheckFile( dest.GetBuffer() ) != PATH_FILE ) {
|
||||
Str source = gameInstallPath.GetBuffer();
|
||||
source += "base/scripts/default_shaderlist.txt";
|
||||
source += "baseEF/scripts/default_shaderlist.txt";
|
||||
radCopyFile( source.GetBuffer(), dest.GetBuffer() );
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue