# HG changeset patch # User nemo # Date 1408907906 14400 # Node ID 314164a9c91267398591e2657f9e748608fe1f50 # Parent 77ff1db6d6e4704e647cc21e70b9b4fbc1a545b5 rename of variable typo for readability diff -r 77ff1db6d6e4 -r 314164a9c912 hedgewars/uTeams.pas --- a/hedgewars/uTeams.pas Sun Aug 24 14:51:11 2014 -0400 +++ b/hedgewars/uTeams.pas Sun Aug 24 15:18:26 2014 -0400 @@ -653,29 +653,29 @@ if (t = cMaxTeams) or (TeamsArray[t] = nil) then exit; - TeamsArray[t]^.isGoneFlagPengingToBeSet:= true; + TeamsArray[t]^.isGoneFlagPendingToBeSet:= true; if isSynced then begin for i:= 0 to Pred(cMaxTeams) do with TeamsArray[i]^ do begin - if (not hasGone) and isGoneFlagPengingToBeSet then + if (not hasGone) and isGoneFlagPendingToBeSet then begin AddChatString('** '+ TeamName + ' is gone'); // TODO: localize if not CurrentTeam^.ExtDriven then SendIPC(_S'f' + s); hasGone:= true; skippedTurns:= 0; - isGoneFlagPengingToBeSet:= false; + isGoneFlagPendingToBeSet:= false; RecountTeamHealth(TeamsArray[i]) end; - if hasGone and isGoneFlagPengingToBeUnset then + if hasGone and isGoneFlagPendingToBeUnset then ParseCommand('/teamback s' + s, true); end; end else begin - TeamsArray[t]^.isGoneFlagPengingToBeSet:= true; + TeamsArray[t]^.isGoneFlagPendingToBeSet:= true; if (not CurrentTeam^.ExtDriven) or (CurrentTeam^.TeamName = s) then ParseCommand('/teamgone s' + s, true); @@ -707,15 +707,15 @@ RecountTeamHealth(TeamsArray[t]); - if isGoneFlagPengingToBeUnset and (Owner = UserNick) then + if isGoneFlagPendingToBeUnset and (Owner = UserNick) then ExtDriven:= false; - isGoneFlagPengingToBeUnset:= false; + isGoneFlagPendingToBeUnset:= false; end; end else begin - TeamsArray[t]^.isGoneFlagPengingToBeUnset:= true; + TeamsArray[t]^.isGoneFlagPendingToBeUnset:= true; if not CurrentTeam^.ExtDriven then ParseCommand('/teamback s' + s, true); diff -r 77ff1db6d6e4 -r 314164a9c912 hedgewars/uTypes.pas --- a/hedgewars/uTypes.pas Sun Aug 24 14:51:11 2014 -0400 +++ b/hedgewars/uTypes.pas Sun Aug 24 15:18:26 2014 -0400 @@ -404,7 +404,7 @@ stats: TTeamStats; hasGone: boolean; skippedTurns: Longword; - isGoneFlagPengingToBeSet, isGoneFlagPengingToBeUnset: boolean; + isGoneFlagPendingToBeSet, isGoneFlagPendingToBeUnset: boolean; end; TClan = record