no scale for 1.0

This commit is contained in:
p.kosyh 2009-11-23 17:16:36 +00:00
parent 2ffbca34f1
commit 8b868c3ee1

View file

@ -217,7 +217,7 @@ int theme_img_scale(img_t *p)
{
img_t pic;
float v = game_theme.scale;
if (!p || !*p)
if (!p || !*p || v == 1.0f)
return 0;
pic = gfx_scale(*p, v, v);
if (!pic)