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:
parent
f6014498ba
commit
2285c31b53
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user