From: fgsfds Date: Thu, 6 May 2021 14:38:03 +0000 (+0300) Subject: game: hit friendlies with everything by default X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=13368a9269fe9fa4850a53f4611b3ec23b544d03;p=d2df-sdl.git game: hit friendlies with everything by default --- diff --git a/src/game/g_game.pas b/src/game/g_game.pas index 1d57670..8271428 100644 --- a/src/game/g_game.pas +++ b/src/game/g_game.pas @@ -4439,6 +4439,8 @@ begin gGameSettings.Options := gGameSettings.Options + GAME_OPTION_ALLOWEXIT; gGameSettings.Options := gGameSettings.Options + GAME_OPTION_MONSTERS; gGameSettings.Options := gGameSettings.Options + GAME_OPTION_BOTVSMONSTER; + gGameSettings.Options := gGameSettings.Options + GAME_OPTION_TEAMHITPROJECTILE; + gGameSettings.Options := gGameSettings.Options + GAME_OPTION_TEAMHITTRACE; gSwitchGameMode := GM_SINGLE; gLMSRespawn := LMS_RESPAWN_NONE; diff --git a/src/game/g_options.pas b/src/game/g_options.pas index ecc30f9..c29bb4d 100644 --- a/src/game/g_options.pas +++ b/src/game/g_options.pas @@ -270,7 +270,8 @@ begin gsSpawnInvul := 0; gsItemRespawnTime := 60; gsGameFlags := GAME_OPTION_ALLOWEXIT or GAME_OPTION_DMKEYS or - GAME_OPTION_BOTVSPLAYER or GAME_OPTION_BOTVSMONSTER; + GAME_OPTION_BOTVSPLAYER or GAME_OPTION_BOTVSMONSTER or + GAME_OPTION_TEAMHITTRACE or GAME_OPTION_TEAMHITPROJECTILE; gsPlayers := 1; (* section MasterServer *)