1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-27 04:26:29 -05:00

Fixed vertical centering for the player (#384)

This commit is contained in:
Tim Sarbin 2020-06-21 21:49:32 -04:00 committed by GitHub
parent 8c50a014ac
commit 4b6065b2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ func NewViewport(x, y, width, height int) *Viewport {
Left: x,
Top: y,
Width: width,
Height: height + 200, // TODO: Temporary hack to prevent clipping
Height: height,
},
defaultScreenRect: d2common.Rectangle{
Left: x,