From 6e51f9723635de3defce30517fa1043f26e27ee9 Mon Sep 17 00:00:00 2001 From: drumsetmonkey Date: Sat, 23 Apr 2016 21:42:37 -0400 Subject: Fixed some bugs --- src/inventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inventory.cpp b/src/inventory.cpp index 8bde00e..224ee12 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -508,7 +508,7 @@ void Inventory::draw(void) { std::cout << "drawing" << std::endl; glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, itemtex[items[a].id]); - glColor4f(1.0f, 1.0f, 1.0f, 1.0fa); + glColor4f(1.0f, 1.0f, 1.0f, 1.0f); glBegin(GL_QUADS); if (itemMap[items[a].id]->height > itemMap[items[a].id]->width) { glTexCoord2i(0,1);glVertex2i(r.end.x-((itemWide/2)*((float)itemMap[items[a].id]->width/(float)itemMap[items[a].id]->height)), r.end.y-(itemWide/2)); -- cgit v1.2.3