# HG changeset patch
# User unc0rr
# Date 1243177357 0
# Node ID 1e1726fb6a90ef2af815296ae7fb2dd613725ee2
# Parent  9be70514954cfc875771ef2452d25833056e5056
Fix attack bubbles

diff -r 9be70514954c -r 1e1726fb6a90 hedgewars/uChat.pas
--- a/hedgewars/uChat.pas	Sun May 24 15:01:10 2009 +0000
+++ b/hedgewars/uChat.pas	Sun May 24 15:02:37 2009 +0000
@@ -163,25 +163,25 @@
 if (s[1] = '/') and (copy(s, 1, 5) = '/hsa ') then
     begin
     if CurrentTeam^.ExtDriven then
-        ParseCommand('/say ' + copy(s, 2, Length(s)-2), true)
+        ParseCommand('/say ' + copy(s, 6, Length(s)-5), true)
     else
-        ParseCommand('/hogsay '#4 + copy(s, 2, Length(s)-2), true);
+        ParseCommand('/hogsay '#4 + copy(s, 6, Length(s)-5), true);
     exit
     end;
 if (s[1] = '/') and (copy(s, 1, 5) = '/hta ') then
     begin
     if CurrentTeam^.ExtDriven then
-        ParseCommand('/say ' + copy(s, 2, Length(s)-2), true)
+        ParseCommand('/say ' + copy(s, 6, Length(s)-5), true)
     else
-        ParseCommand('/hogsay '#5 + copy(s, 2, Length(s)-2), true);
+        ParseCommand('/hogsay '#5 + copy(s, 6, Length(s)-5), true);
     exit
     end;
 if (s[1] = '/') and (copy(s, 1, 5) = '/hya ') then
     begin
     if CurrentTeam^.ExtDriven then
-        ParseCommand('/say ' + copy(s, 2, Length(s)-2), true)
+        ParseCommand('/say ' + copy(s, 6, Length(s)-5), true)
     else
-        ParseCommand('/hogsay '#6 + copy(s, 2, Length(s)-2), true);
+        ParseCommand('/hogsay '#6 + copy(s, 6, Length(s)-5), true);
     exit
     end;