mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- fixed typo in automap background position calculation.
This commit is contained in:
parent
6a27267500
commit
bc2a5b3f16
1 changed files with 1 additions and 1 deletions
|
@ -1144,7 +1144,7 @@ static void AM_ScrollParchment (double dmapx, double dmapy)
|
||||||
mapystart = mapystart - dmapy * scale_mtof;
|
mapystart = mapystart - dmapy * scale_mtof;
|
||||||
|
|
||||||
mapxstart = clamp(mapxstart, -40000., 40000.);
|
mapxstart = clamp(mapxstart, -40000., 40000.);
|
||||||
mapystart = clamp(mapxstart, -40000., 40000.);
|
mapystart = clamp(mapystart, -40000., 40000.);
|
||||||
|
|
||||||
if (mapback.isValid())
|
if (mapback.isValid())
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue