- fixed typo in automap background position calculation.

This commit is contained in:
Christoph Oelckers 2016-04-17 10:19:56 +02:00
parent 6a27267500
commit bc2a5b3f16

View file

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