aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.c')
-rw-r--r--src/game.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.c b/src/game.c
index fb7e01d..06ce527 100644
--- a/src/game.c
+++ b/src/game.c
@@ -95,6 +95,9 @@ void initGame(Game* game)
initInteractionChat(&game->interactionChat, &game->settings);
initInteractionMenu(&game->interactionMenu, &game->settings);
+ // Inventory.
+ initInventory(&game->inventory);
+
disableGameCursor(game);
}
@@ -324,6 +327,7 @@ void updateGameScene(Game* game)
updateGameStatus(game);
updateInteractionChat(&game->interactionChat, game);
updateInteractionMenu(&game->interactionMenu, game);
+ updateInventory(&game->inventory);
}
void handleGameResize(Game* game)