mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
inventory fix
This commit is contained in:
parent
900e4ae098
commit
fea123bc5f
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ void HudRenderer::draw(Level* level, Assets* assets){
|
|||
int inv_y = (Window::height - (inv_h)) / 2;
|
||||
int xs = (Window::width - inv_w + step)/2;
|
||||
int ys = (Window::height - inv_h + step)/2;
|
||||
if (Window::width > inv_wm*3){
|
||||
if (Window::width > inv_w*3){
|
||||
inv_x = (Window::width + (inv_w)) / 2;
|
||||
inv_y = (Window::height - (inv_h)) / 2;
|
||||
xs = (Window::width + inv_w + step)/2;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue