no scale for 1.0
This commit is contained in:
parent
2ffbca34f1
commit
8b868c3ee1
|
@ -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)
|
||||
|
|
Reference in a new issue