diff --git a/src/elevator.c b/src/elevator.c index f5b94fd..4f7e388 100644 --- a/src/elevator.c +++ b/src/elevator.c @@ -534,9 +534,11 @@ int elevatorWindowInit(int elevator) return -1; } + int elevatorWindowX = (screenGetWidth() - gElevatorBackgroundFrmWidth) / 2; + int elevatorWindowY = (screenGetHeight() - 100 - 1 - gElevatorBackgroundFrmHeight) / 2; gElevatorWindow = windowCreate( - (640 - gElevatorBackgroundFrmWidth) / 2, - (379 - gElevatorBackgroundFrmHeight) / 2, + elevatorWindowX, + elevatorWindowY, gElevatorBackgroundFrmWidth, gElevatorBackgroundFrmHeight, 256,