mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Merge pull request #210 from UberGames/STVEFBugFix1
Fixed STVEF game support install routine + structural/detail toggle
This commit is contained in:
commit
04d9f7a4ca
1 changed files with 2 additions and 2 deletions
|
@ -3720,10 +3720,10 @@ void CGameInstall::Run() {
|
||||||
fprintf( fg, " caulk_shader=\"textures/common/caulk\"\n" );
|
fprintf( fg, " caulk_shader=\"textures/common/caulk\"\n" );
|
||||||
// Hardcoded fix for "missing" shaderlist in gamepack
|
// Hardcoded fix for "missing" shaderlist in gamepack
|
||||||
Str dest = m_strEngine.GetBuffer();
|
Str dest = m_strEngine.GetBuffer();
|
||||||
dest += "/base/scripts/shaderlist.txt";
|
dest += "/baseEF/scripts/shaderlist.txt";
|
||||||
if( CheckFile( dest.GetBuffer() ) != PATH_FILE ) {
|
if( CheckFile( dest.GetBuffer() ) != PATH_FILE ) {
|
||||||
Str source = gameInstallPath.GetBuffer();
|
Str source = gameInstallPath.GetBuffer();
|
||||||
source += "base/scripts/default_shaderlist.txt";
|
source += "baseEF/scripts/default_shaderlist.txt";
|
||||||
radCopyFile( source.GetBuffer(), dest.GetBuffer() );
|
radCopyFile( source.GetBuffer(), dest.GetBuffer() );
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue