Merge pull request #210 from UberGames/STVEFBugFix1

Fixed STVEF game support install routine + structural/detail toggle
This commit is contained in:
Timothee "TTimo" Besset 2013-07-30 08:04:28 -07:00
commit 04d9f7a4ca

View file

@ -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;