mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
Use executables path for launching engine. This is defaulted to engine path for most games, but adjusted for those which have their binaries in a different directory (e.g. Quake2World).
This commit is contained in:
parent
7d092b3417
commit
7c0ca95b7b
1 changed files with 2 additions and 2 deletions
|
@ -461,7 +461,7 @@ void CWatchBSP::RoutineProcessing(){
|
|||
Sys_Printf( "Running engine...\n" );
|
||||
Str cmd;
|
||||
// build the command line
|
||||
cmd = g_pGameDescription->mEnginePath.GetBuffer();
|
||||
cmd = g_pGameDescription->mExecutablesPath.GetBuffer();
|
||||
// this is game dependant
|
||||
if ( !strcmp( ValueForKey( g_qeglobals.d_project_entity, "gamemode" ),"mp" ) ) {
|
||||
// MP
|
||||
|
@ -479,7 +479,7 @@ void CWatchBSP::RoutineProcessing(){
|
|||
#endif
|
||||
Str cmdline;
|
||||
if ( g_pGameDescription->quake2 ) {
|
||||
cmdline = ". +exec radiant.cfg +map ";
|
||||
cmdline = "+exec radiant.cfg +map ";
|
||||
cmdline += m_sBSPName;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue