aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2017-09-05 12:54:48 -0400
committerClyne Sullivan <tullivan99@gmail.com>2017-09-05 12:54:48 -0400
commit643e94897ba5fab0570d118a7aafc7772949d4e3 (patch)
tree0c9580cccee3bba95664eddef37572f496573cc3 /main.cpp
parentb1f93a4f8a5a3e84db9f00d0b41749d4fb32ed26 (diff)
saving inventory
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index bcec5ab..51a5776 100644
--- a/main.cpp
+++ b/main.cpp
@@ -106,6 +106,8 @@ int main(int argc, char *argv[])
WorldSystem::loader();
+ InventorySystem::load();
+
/////////////////////////////
// //
// actually start the game //
@@ -172,6 +174,7 @@ int main(int argc, char *argv[])
// save
game::briceSave();
+ InventorySystem::save();
WorldSystem::save();
// exit