From 643e94897ba5fab0570d118a7aafc7772949d4e3 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 5 Sep 2017 12:54:48 -0400 Subject: saving inventory --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main.cpp') 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 -- cgit v1.2.3