hedgewars/uGearsRender.pas
changeset 14603 62dea281e4d5
parent 14584 42f3d6860971
child 14660 bf37a416ad8f
equal deleted inserted replaced
14602:6d2954037e57 14603:62dea281e4d5
   693                                 CurAmmoGear^.Pos,
   693                                 CurAmmoGear^.Pos,
   694                                 sign,
   694                                 sign,
   695                                 0);
   695                                 0);
   696                         // sprCensored contains English text, so only show it for English locales
   696                         // sprCensored contains English text, so only show it for English locales
   697                         // TODO: Make text translatable. But how?
   697                         // TODO: Make text translatable. But how?
   698                         if Copy(cLocale, 1, 2) = 'en' then
   698                         if Copy(cLanguage, 1, 2) = 'en' then
   699                             DrawSprite(sprCensored, ox - 32, oy - 20, 0);
   699                             DrawSprite(sprCensored, ox - 32, oy - 20, 0);
   700                         end;
   700                         end;
   701                     defaultPos:= false
   701                     defaultPos:= false
   702                     end;
   702                     end;
   703                 gtFlamethrower: DrawSpriteRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, sign, aangle);
   703                 gtFlamethrower: DrawSpriteRotatedF(sprHandFlamethrower, hx, hy, (RealTicks div 125) mod 4, sign, aangle);