mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-24 02:17:40 +00:00
fixed base_x and base_y
This commit is contained in:
@@ -349,6 +349,8 @@ bool texture_data::readtexture(string tn) {
|
|||||||
[&] (int y, int v) { get_texture_pixel(x, y) = v; }
|
[&] (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
|
#if CAP_SDL_IMG
|
||||||
|
|||||||
Reference in New Issue
Block a user