aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2015-10-22 09:23:08 -0400
committerdrumsetmonkey <abelleisle@roadrunner.com>2015-10-22 09:23:08 -0400
commitc6739a753e31e8d239b662fbfc7d9ac7e7c0621e (patch)
treeb481b819ef312f00567401adce4caab05127188d /src/inventory.cpp
parentfd79887f68775b781ed7f00b98aea28f1d9caa4d (diff)
Commented more of entities, added new texture namespace and class
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 b9b4859..1adcbab 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -24,7 +24,7 @@ unsigned int initInventorySprites(void){
unsigned int i,loadCount=0;
ITEM_TEX=(GLuint *)calloc(ITEM_COUNT,sizeof(GLuint));
for(i=0;i<ITEM_COUNT;i++){
- if((ITEM_TEX[i]=loadTexture(ITEM_SPRITE[i+1])))loadCount++;
+ if((ITEM_TEX[i]=Texture::loadTexture(ITEM_SPRITE[i+1])))loadCount++;
}
#ifdef DEBUG
DEBUG_printf("Loaded %u/%u item texture(s).\n",loadCount,ITEM_COUNT);