hedgewars/uTypes.pas
changeset 14632 3cf7799e04b5
parent 14559 1dab5d92aca7
child 14757 8563cc40fc1e
--- a/hedgewars/uTypes.pas	Wed Jan 16 07:30:06 2019 +0100
+++ b/hedgewars/uTypes.pas	Wed Jan 16 15:40:11 2019 +0100
@@ -446,6 +446,8 @@
             voicepack: PVoicepack;
             PlayerHash: shortstring;   // md5 hash of player name. For temporary enabling of hats as thank you. Hashed for privacy of players
             stats: TTeamStats;
+            Passive: boolean; // if true, team will not participate in game. It is treated as if all its hedgehogs are frozen.
+                              // updating this value requires updating Passive in TClan as well!
             hasKing: boolean; // true if team has a living king
             hasGone: boolean;
             skippedTurns: Longword;
@@ -467,6 +469,7 @@
             DeathLogged: boolean; // true if clan is dead and its latest death has been logged in the clan death log
             StatsHandled : boolean; // true if clan's rank has been handled for stats screen
             Flawless: boolean;
+            Passive: boolean; // informational. Must be set to true if all of the teams are passive
             end;
 
      cdeclPtr = procedure; cdecl;