mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-17 11:30:09 +00:00
fixed base_x and base_y
This commit is contained in:
parent
b782452a4a
commit
3260a635a8
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user