mirror of
https://github.com/fallout2-ce/fallout2-ce.git
synced 2026-07-27 16:47:11 -07:00
Fix elevator window position
This commit is contained in:
+4
-2
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user