From 2285c31b53bf42074b2362eb2141ab4afa36d38e Mon Sep 17 00:00:00 2001 From: Ziemas Date: Mon, 24 Feb 2020 19:36:12 +0100 Subject: [PATCH] Fix wall location by removing extraneous offset (#314) --- d2core/d2map/region.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d2core/d2map/region.go b/d2core/d2map/region.go index efd95dc96..57df634e6 100644 --- a/d2core/d2map/region.go +++ b/d2core/d2map/region.go @@ -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())