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 9d7686f..a6ed57a 100644
--- a/src/game.c
+++ b/src/game.c
@@ -85,6 +85,9 @@ void initGame(Game* game)
// Map.
initMap(&game->map, &game->world, &game->settings);
+ // Interaction chat.
+ initInteractionChat(&game->chat);
+
disableGameCursor(game);
}
@@ -186,6 +189,7 @@ void updateGameScene(Game* game)
drawGameScreen(game);
updateMap(&game->map, game);
+ updateInteractionChat(&game->chat, game);
// Cross hair.
if (IsKeyPressed(game->settings.toggleCrossHairKey))