1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-22 05:03:19 +00:00

fixed base_x and base_y

This commit is contained in:
Zeno Rogue 2020-09-15 20:01:41 +02:00
parent b782452a4a
commit 3260a635a8

View File

@ -349,6 +349,8 @@ bool texture_data::readtexture(string tn) {
[&] (int y, int v) { get_texture_pixel(x, y) = v; }
);
base_x = base_x * twidth / origdim;
base_y = base_y * theight / origdim;
}
#if CAP_SDL_IMG