# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1532642404 -7200
# Node ID d8da70fdec16c5b8d9c27fbce4f7ff73a02f134b
# Parent  0ff20bb1503705cfb102c6ba52ad051b8e7f85d9
Fix /hta, /hsa and /hya commands not writing message in chat

diff -r 0ff20bb15037 -r d8da70fdec16 ChangeLog.txt
--- a/ChangeLog.txt	Thu Jul 26 19:08:39 2018 +0200
+++ b/ChangeLog.txt	Fri Jul 27 00:00:04 2018 +0200
@@ -14,6 +14,7 @@
  * Fix video recorder not working when game audio was disabled
  * Fix cursor teleporting to center after leaving game with a video recording
  * Fix teleport tooltip claiming it doesn't end turn in hog placing phase with inf. attack
+ * Fix /hta, /hsa and /hya commands not writing message in chat
 
 Frontend:
  * Controllers are detected again
diff -r 0ff20bb15037 -r d8da70fdec16 hedgewars/uGearsHedgehog.pas
--- a/hedgewars/uGearsHedgehog.pas	Thu Jul 26 19:08:39 2018 +0200
+++ b/hedgewars/uGearsHedgehog.pas	Fri Jul 27 00:00:04 2018 +0200
@@ -576,6 +576,7 @@
                     speech^.Text:= SpeechText;
                     speech^.Hedgehog:= Gear^.Hedgehog;
                     speech^.FrameTicks:= SpeechType;
+                    AddChatString(#9+'[' + Gear^.Hedgehog^.Name + '] '+SpeechText);
                     end;
                 SpeechText:= ''
                 end;