Fix STVEF game support install routine

This commit is contained in:
Walter Julius Hennecke 2013-07-21 13:19:59 +02:00
parent ae32550cb4
commit 1777877774

View file

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