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
1 changed files with 1 additions and 1 deletions

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())