diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-04-23 21:42:37 -0400 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-04-23 21:42:37 -0400 |
commit | 6e51f9723635de3defce30517fa1043f26e27ee9 (patch) | |
tree | 5dfef6023ea7a57b7e394a16cfecb003e3220402 /src/inventory.cpp | |
parent | 56fd6a9d86ac57580ec2b91cc98db31dda5f5770 (diff) |
Fixed some bugs
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 2 |
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)); |