From bc2a5b3f1617662bb58a601723b4a20d16d03cc9 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 17 Apr 2016 10:19:56 +0200 Subject: [PATCH] - fixed typo in automap background position calculation. --- src/am_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/am_map.cpp b/src/am_map.cpp index 765443c20..dcfb361bf 100644 --- a/src/am_map.cpp +++ b/src/am_map.cpp @@ -1144,7 +1144,7 @@ static void AM_ScrollParchment (double dmapx, double dmapy) mapystart = mapystart - dmapy * scale_mtof; mapxstart = clamp(mapxstart, -40000., 40000.); - mapystart = clamp(mapxstart, -40000., 40000.); + mapystart = clamp(mapystart, -40000., 40000.); if (mapback.isValid()) {