GIT
/
REPO
/
FRED-BOY
Projects
/
d2df-sdl.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2cd4c1
)
Game: subtraction points by suicide in team
author
Dmitry Lyashuk <terminalhash@th-mx>
Fri, 25 Mar 2022 18:45:19 +0000
(21:45 +0300)
committer
Dmitry Lyashuk <terminalhash@th-mx>
Fri, 25 Mar 2022 18:45:19 +0000
(21:45 +0300)
src/game/g_player.pas
patch
|
blob
|
history
diff --git
a/src/game/g_player.pas
b/src/game/g_player.pas
index ee0655c223c9c39231669ce7d1f39d75858e0d3f..9aa72a832c3c6d2cf52adfdb1ac70adcee3565cf 100644
(file)
--- a/
src/game/g_player.pas
+++ b/
src/game/g_player.pas
@@
-3381,7
+3381,8
@@
begin
if SpawnerUID = FUID then
begin // Ñàìîóáèëñÿ
- if Srv and (DoFrags or (gGameSettings.GameMode = GM_TDM)) then
+ if Srv and (gGameSettings.GameMode = GM_TDM) then
+ Dec(gTeamStat[FTeam].Goals);
begin
Dec(FFrags);
FLastFrag := 0;
DEADSOFTWARE 2012-2025