From 04369f067b8ab5b674a55467cc4dad98a9359273 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 17 May 2016 08:44:01 -0400 Subject: better mob combat stuff --- src/ui_menu.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui_menu.cpp') diff --git a/src/ui_menu.cpp b/src/ui_menu.cpp index e766b61..309d16a 100644 --- a/src/ui_menu.cpp +++ b/src/ui_menu.cpp @@ -153,7 +153,8 @@ namespace ui { glUseProgram(textShader); glBindTexture(GL_TEXTURE_2D, backTex); - drawRect(vec2(offset.x - SCREEN_WIDTH / 2, offset.y - (SCREEN_HEIGHT / 2)), vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2))); + drawRect(vec2(offset.x - SCREEN_WIDTH / 2 - 1, offset.y - (SCREEN_HEIGHT / 2)), + vec2(offset.x + SCREEN_WIDTH / 2, offset.y + (SCREEN_HEIGHT / 2))); glUseProgram(0); -- cgit v1.2.3