preproc: FreeBSD game names are like Linux ones

This commit is contained in:
Thomas Debesse 2017-08-30 13:21:37 +02:00
parent 9f595b664b
commit 9d7cc6cd17
1 changed files with 3 additions and 3 deletions

View File

@ -794,7 +794,7 @@ CGameDescription::CGameDescription( xmlDocPtr pDoc, const Str &GameFile ){
if ( prop == NULL ) {
#ifdef _WIN32
mEngine = "quake3.exe";
#elif __linux__
#elif defined( __linux__ ) || defined( __FreeBSD__ )
mEngine = "quake3";
#elif __APPLE__
mEngine = "Quake3.app";
@ -808,7 +808,7 @@ CGameDescription::CGameDescription( xmlDocPtr pDoc, const Str &GameFile ){
if ( prop == NULL ) {
#ifdef _WIN32
mMultiplayerEngine = "quake3.exe";
#elif __linux__
#elif defined( __linux__ ) || defined( __FreeBSD__ )
mMultiplayerEngine = "quake3";
#elif __APPLE__
mMultiplayerEngine = "Quake3.app";
@ -3775,7 +3775,7 @@ void CGameInstall::Run() {
case GAME_ET: {
#ifdef _WIN32
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"ET.exe\"\n");
#elif __linux__
#elif defined( __linux__ ) || defined( __FreeBSD__ )
fprintf( fg, " " ENGINE_ATTRIBUTE "=\"et\"\n" );
#endif
fprintf( fg, " prefix=\".etwolf\"\n" );