diff -r b4e20bb485f9 -r 92218a06c9ff hedgewars/uCommandHandlers.pas --- a/hedgewars/uCommandHandlers.pas Wed Nov 01 00:04:45 2017 +0100 +++ b/hedgewars/uCommandHandlers.pas Wed Nov 01 20:52:06 2017 +0100 @@ -27,7 +27,7 @@ implementation uses uCommands, uTypes, uVariables, uIO, uDebug, uConsts, uScript, uUtils, SDLh, uWorld, uRandom, uCaptions - , uVisualGearsList + , uVisualGearsList, uGearsHedgehog {$IFDEF USE_VIDEO_RECORDING}, uVideoRec {$ENDIF}; var prevGState: TGameState = gsConfirm; @@ -474,12 +474,7 @@ if not isExternalSource then SendIPC('t' + s); -with CurrentHedgehog^.Gear^ do - begin - Message:= Message or (gmAnimate and InputMask); - MsgParam:= byte(s[1]) ; - ScriptCall('onTaunt', MsgParam); - end +PlayTaunt(byte(s[1])) end; procedure chPut(var s: shortstring);