# HG changeset patch # User nemo # Date 1291643885 18000 # Node ID d2b8d2fc51a919c89ec74570d65796cafe0d3622 # Parent b08c7ebcadb25682ce8e33094c4ccf425aedc16b disable say, just don't do anything. trying to avoid spew on spectator join diff -r b08c7ebcadb2 -r d2b8d2fc51a9 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Mon Dec 06 00:33:39 2010 -0500 +++ b/hedgewars/uGears.pas Mon Dec 06 08:58:05 2010 -0500 @@ -1764,11 +1764,13 @@ else if x < 4 then text:= copy(s, 3, Length(s) - 1) else text:= copy(s, 2, Length(s) - 1); + (* if CheckNoTeamOrHH then begin ParseCommand('say ' + text, true); exit end; + *) if (x < 4) and (TeamsArray[t] <> nil) then begin @@ -1799,7 +1801,7 @@ end else ParseCommand('say ' + text, true) end - else + else if (x >= 4) then begin SpeechType:= x-3; SpeechText:= text