Skip to content

Commit

Permalink
Fix wall location by removing extraneous offset (OpenDiablo2#314)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ziemas authored Feb 24, 2020
1 parent f601449 commit 2285c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2core/d2map/region.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 2285c31

Please sign in to comment.