diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2016-02-04 09:25:25 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2016-02-04 09:25:25 -0500 |
commit | 164de60e121552d92712179d480ef1859f42127a (patch) | |
tree | ab91e0422c6fe159051149cc1e77cb7689d1f3e6 /src/inventory.cpp | |
parent | 814dab606cfeeabd4aeecba852507c3c3f1a005f (diff) | |
parent | 2cb30b167401f1785ebfa744e8612639a150deb2 (diff) |
Volume Mixer
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index de60030..93bdeb6 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -88,6 +88,12 @@ void initInventorySprites(void){ } void destroyInventory(void){ + + while(!itemMap.empty()){ + delete itemMap.front(); + itemMap.erase(itemMap.begin()); + } + Mix_FreeChunk(swordSwing); } |