aboutsummaryrefslogtreecommitdiffstats
path: root/src/game.c
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2026-01-11 13:13:36 +0000
committernathan <nathansmith@disroot.org>2026-01-11 13:13:36 +0000
commite853966be38ae6c5319df137c3b04a86e52b562b (patch)
tree76a7b271ac1795098ebb8d797a523fbcbfc54080 /src/game.c
parent013ac4a2f4ae24d71f425f31edd77a8e29ed1da8 (diff)
downloadFindThings-e853966be38ae6c5319df137c3b04a86e52b562b.tar.gz
FindThings-e853966be38ae6c5319df137c3b04a86e52b562b.tar.bz2
FindThings-e853966be38ae6c5319df137c3b04a86e52b562b.zip
More inventory thingsHEADmain
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)