diff options
author | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-22 09:27:55 -0400 |
---|---|---|
committer | Clyne Sullivan <tullivan99@gmail.com> | 2015-10-22 09:27:55 -0400 |
commit | c99d7fb5e5c047709ccd4823e39ccb16c153eecb (patch) | |
tree | 9b77ae63cd8876e8d449ba4cb6ad82ad88b16b55 /src/inventory.cpp | |
parent | 95f1817ebf57e54ca43181198c1782838f424492 (diff) | |
parent | d15062f7f2563761660e665d0940d9c0d1a7883c (diff) |
screw npcs
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 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); |