Updated: fixed the main menu

This commit is contained in:
Lian Drake 2023-12-08 05:53:03 -04:00
parent 111f042e97
commit cdac6194f2
2 changed files with 2 additions and 2 deletions

BIN
serpent Executable file

Binary file not shown.

View file

@ -523,8 +523,8 @@ void run() {
/* Function to display the main menu */ /* Function to display the main menu */
void mainMenu(WINDOW *menuScreen, int menuType) { void mainMenu(WINDOW *menuScreen, int menuType) {
int menuY = (SCREEN_HEIGHT - startY) / 5; int menuY = (SCREEN_HEIGHT - 5) / 5;
int menuX = (SCREEN_WIDTH - startX) / 2; int menuX = (SCREEN_WIDTH - 30) / 2;
wclear(menuScreen); wclear(menuScreen);
box(menuScreen, 0, 0); box(menuScreen, 0, 0);