diff -r 794af9339726 -r dd27562b6f21 hedgewars/uGame.pas --- a/hedgewars/uGame.pas Fri Feb 07 00:47:51 2014 +0400 +++ b/hedgewars/uGame.pas Thu Feb 06 22:03:53 2014 +0100 @@ -26,7 +26,7 @@ //////////////////// implementation //////////////////// -uses uUtils, uInputHandler, uTeams, uIO, uAI, uGears, uSound, uLocale, uCaptions, +uses uInputHandler, uTeams, uIO, uAI, uGears, uSound, uLocale, uCaptions, uTypes, uVariables, uCommands, uConsts, uVisualGearsList {$IFDEF USE_TOUCH_INTERFACE}, uTouch{$ENDIF}; @@ -77,7 +77,7 @@ else if not isAudioMuted then begin str(i, s); - AddCaption(FormatPChar(trmsg[sidVolume], Str2PChar(s)), cWhiteColor, capgrpVolume) + AddCaption(Format(trmsg[sidVolume], s), cWhiteColor, capgrpVolume) end end; end;