aboutsummaryrefslogtreecommitdiffstats
path: root/src/inventory.cpp
diff options
context:
space:
mode:
authordrumsetmonkey <abelleisle@roadrunner.com>2016-01-21 09:09:52 -0500
committerdrumsetmonkey <abelleisle@roadrunner.com>2016-01-21 09:09:52 -0500
commit9b6173fb47e5d7bbcded9e3ef1cb735690be4c84 (patch)
tree9a1929de2b5289d2706d53246877fbb3b5ba2831 /src/inventory.cpp
parent57cdcfac12bccee661085a00424f015fc071666f (diff)
parentd6469d0cafc03c468c5977ec345d08b3ccb6fd0a (diff)
Player Sprite
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index b6819d1..108051c 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -29,6 +29,10 @@ void initInventorySprites(void){
Mix_Volume(2,100);
}
+void destroyInventory(void){
+ Mix_FreeChunk(swordSwing);
+}
+
char *getItemTexturePath(ITEM_ID id){
return item[id].textureLoc;
}