From d382483fa76028c2d34f75067bff45306c6da34e Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Sat, 19 Aug 2017 09:29:55 +0200 Subject: Code modernization: src/m* (part 3) * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * remove some unused headers in some cpp variable --- src/minimap.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/minimap.cpp') diff --git a/src/minimap.cpp b/src/minimap.cpp index 5b9b27b8e..59753e246 100644 --- a/src/minimap.cpp +++ b/src/minimap.cpp @@ -115,7 +115,6 @@ void MinimapUpdateThread::doUpdate() void MinimapUpdateThread::getMap(v3s16 pos, s16 size, s16 height) { - v3s16 region(size, 0, size); v3s16 pos_min(pos.X - size / 2, pos.Y - height / 2, pos.Z - size / 2); v3s16 pos_max(pos_min.X + size - 1, pos.Y + height / 2, pos_min.Z + size - 1); v3s16 blockpos_min = getNodeBlockPos(pos_min); -- cgit v1.2.3