Updated: fixed the main menu
This commit is contained in:
parent
111f042e97
commit
cdac6194f2
2 changed files with 2 additions and 2 deletions
BIN
serpent
Executable file
BIN
serpent
Executable file
Binary file not shown.
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue