diff --git a/sc2/src/sc2code/libs/graphics/tfb_draw.c b/sc2/src/sc2code/libs/graphics/tfb_draw.c index 892d64541..a7011e025 100644 --- a/sc2/src/sc2code/libs/graphics/tfb_draw.c +++ b/sc2/src/sc2code/libs/graphics/tfb_draw.c @@ -298,7 +298,8 @@ TFB_DrawImage_FixScaling (TFB_Image *image, int target) EXTENT old = image->extent; TFB_DrawCanvas_GetScaledExtent (image->NormalImg, target, &image->extent); - if ((old.width != image->extent.width) || (old.height != image->extent.height) || image->dirty) + if ((old.width != image->extent.width) || (old.height != image->extent.height) || + image->dirty || !image->ScaledImg) { image->dirty = FALSE; if (!image->ScaledImg)