fix: slot renderer & bubble placement

This commit is contained in:
str1k3r committed 2026-09-28 23:02:10 -04:00
1 parent cc9a8d0c2a
commit 02da402490
1 file changed
+7 -5
+7 -5
View File
@@ -388,12 +388,12 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse)
if(bTwoPlayerSplitscreen)
{
yLine1 = iHeightOffset + screenHeight - 10 - iSafezoneYHalf - iTooltipsYOffset;
yLine2 = yLine1 - 10;
yLine2 = yLine1 - 9;
}
else
{
yLine1 = screenHeight - 10 - iSafezoneYHalf - iTooltipsYOffset;
yLine2 = yLine1 - 10;
yLine2 = yLine1 - 9;
}
int armor = minecraft->player->getArmorValue();
@@ -469,10 +469,12 @@ void Gui::render(float a, bool mouseFree, int xMouse, int yMouse)
////////////////////////////
if(bDisplayGui)
{
glEnable(GL_RESCALE_NORMAL);
Lighting::turnOnGui();
glEnable(GL_RESCALE_NORMAL);
glPushMatrix();
glRotatef(120, 1, 0, 0);
Lighting::turnOn();
glPopMatrix();
int x,y;