projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f7b7e
)
fixed bug with not scaling images despite using option ".scale_up_factor"
author
Holger Schemel
<info@artsoft.org>
Sun, 5 Feb 2023 10:58:31 +0000
(11:58 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 5 Feb 2023 10:58:51 +0000
(11:58 +0100)
src/libgame/image.c
patch
|
blob
|
history
diff --git
a/src/libgame/image.c
b/src/libgame/image.c
index e182a495fd7c524b4719761c3457ecdc4093fac2..4cc613e70062f8031c7703b7fbde5218b664f3dd 100644
(file)
--- 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)