# HG changeset patch # User nemo # Date 1386652853 18000 # Node ID 984b0f2cdf6782e31e0292bd9ad7b37a439c4f89 # Parent 67130612aabd9ceb5bf2f228294b48f086b69364 can't use parsecommand since it does sendipc diff -r 67130612aabd -r 984b0f2cdf67 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Dec 10 00:05:27 2013 -0500 +++ b/hedgewars/uGears.pas Tue Dec 10 00:20:53 2013 -0500 @@ -33,7 +33,7 @@ * effects are called "Visual Gears" and defined in the respective unit! *) interface -uses uConsts, uFloat, uTypes; +uses uConsts, uFloat, uTypes, uChat; procedure initModule; procedure freeModule; @@ -885,7 +885,8 @@ Gear^.Text:= text; Gear^.FrameTicks:= x end; - ParseCommand('/say [' + hh^.Name + '] '+text, true) + //ParseCommand('/say [' + hh^.Name + '] '+text, true) + //AddChatString(#1+'[' + HH^.Name + '] '+text); end end else if (x >= 4) then