aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-04-23 21:42:37 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-04-23 21:42:37 -0400
commit6e51f9723635de3defce30517fa1043f26e27ee9 (patch)
tree5dfef6023ea7a57b7e394a16cfecb003e3220402 /src/inventory.cpp
parent56fd6a9d86ac57580ec2b91cc98db31dda5f5770 (diff)
Fixed some bugs
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
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));