hedgewars/uGears.pas
changeset 4470 d2b8d2fc51a9
parent 4469 b08c7ebcadb2
child 4482 34393349f96e
--- 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