1
1
mirror of https://github.com/OpenDiablo2/OpenDiablo2 synced 2024-12-26 12:06:24 -05:00

Fix wall location by removing extraneous offset (#314)

This commit is contained in:
Ziemas 2020-02-24 19:36:12 +01:00 committed by GitHub
parent f6014498ba
commit 2285c31b53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -474,7 +474,7 @@ func (mr *MapRegion) renderWall(tile d2ds1.WallRecord, viewport *Viewport, targe
return
}
viewport.PushTranslationOrtho(-80, float64(tile.YAdjust)-16)
viewport.PushTranslationOrtho(-80, float64(tile.YAdjust))
defer viewport.PopTranslation()
target.PushTranslation(viewport.GetTranslationScreen())