diff options
Diffstat (limited to 'src/ui.c')
| -rw-r--r-- | src/ui.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -158,10 +158,10 @@ void updateInteractionMenu(InteractionMenu* menu, Game* game) resizeInteractionMenu(menu, &game->settings); } - /* if (!menu->visible) */ - /* { */ - /* return; */ - /* } */ + if (!menu->visible) + { + return; + } // Draw background. Color background = DARKGRAY; @@ -187,7 +187,8 @@ void updateInteractionMenu(InteractionMenu* menu, Game* game) // Draw items. for (int index = 0; index < menu->itemCount; ++index) { - DrawText(TextFormat("%d: ", index + 1), position.x, position.y, fontSize, WHITE); + DrawText(TextFormat("%d: ", index + 1), position.x, position.y, fontSize, + WHITE); DrawText(TextFormat(" %s", menu->items[index]), position.x, position.y, fontSize, GREEN); position.y += fontSize; |
