mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-12-26 12:06:24 -05:00
Fixed vertical centering for the player (#384)
This commit is contained in:
parent
8c50a014ac
commit
4b6065b2bf
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user