From: Holger Schemel Date: Sun, 5 Feb 2023 10:58:31 +0000 (+0100) Subject: fixed bug with not scaling images despite using option ".scale_up_factor" X-Git-Tag: 4.3.5.0~20 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=bdcea486abce7687d85e130b713a470cc70715ef;p=rocksndiamonds.git fixed bug with not scaling images despite using option ".scale_up_factor" --- diff --git a/src/libgame/image.c b/src/libgame/image.c index e182a495..4cc613e7 100644 --- a/src/libgame/image.c +++ b/src/libgame/image.c @@ -391,9 +391,11 @@ void ScaleImage(int pos, int zoom_factor) return; if (zoom_factor != 1) + { ScaleBitmap(img_info->bitmaps, zoom_factor); - img_info->scaled_up = TRUE; + img_info->scaled_up = TRUE; + } } void FreeAllImages(void)