mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-22 20:02:42 +00:00
Fix for missing shaderlist in JAPack
This commit is contained in:
parent
4a9b132893
commit
6150c562c6
1 changed files with 6 additions and 0 deletions
|
@ -3571,6 +3571,12 @@ void CGameInstall::Run() {
|
|||
source += JA_PACK;
|
||||
source += "/install/";
|
||||
Str dest = m_strEngine.GetBuffer();
|
||||
// Hardcoded fix for "missing" shaderlist in gamepack
|
||||
dest += "/baseq3/shaders/shaderlist.txt";
|
||||
if(CheckFile(dest.GetBuffer()) != PATH_FILE) {
|
||||
source += "baseq3/shaders/default_shaderlist.txt";
|
||||
radCopyFile(source.GetBuffer(),dest.GetBuffer());
|
||||
}
|
||||
radCopyTree( source.GetBuffer(), dest.GetBuffer() );
|
||||
fprintf( fg, " basegame=\"base\"\n" );
|
||||
fprintf( fg, " shaderpath=\"shaders\"\n" );
|
||||
|
|
Loading…
Reference in a new issue