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, 2 insertions, 2 deletions
diff --git a/src/game.c b/src/game.c
index 06ce527..32a2153 100644
--- a/src/game.c
+++ b/src/game.c
@@ -96,7 +96,7 @@ void initGame(Game* game)
initInteractionMenu(&game->interactionMenu, &game->settings);
// Inventory.
- initInventory(&game->inventory);
+ initInventory(&game->inventory, &game->settings);
disableGameCursor(game);
}
@@ -327,7 +327,7 @@ void updateGameScene(Game* game)
updateGameStatus(game);
updateInteractionChat(&game->interactionChat, game);
updateInteractionMenu(&game->interactionMenu, game);
- updateInventory(&game->inventory);
+ updateInventory(&game->inventory, game);
}
void handleGameResize(Game* game)