Ensure terrain scales with NN

Turns out this wasn't even respecting the old scaling algorithm settings. It was just using linear scaling :|
This commit is contained in:
Charles Dang 2019-11-05 23:15:21 +11:00
parent b9fac4313d
commit a7b30d42ae

View file

@ -943,7 +943,7 @@ surface get_lighted_image(const image::locator& i_locator, const light_string& l
case SCALED_TO_HEX:
// we light before scaling to reuse the unscaled cache
res = get_lighted_image(i_locator, ls, HEXED);
res = scale_surface(res, zoom, zoom);
res = scale_surface_nn(res, zoom, zoom);
break;
default:
break;