From cf6a4c7d9a8b23d49201532941dc3072f38a7abf Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sun, 14 Jun 2009 16:40:50 +0000 Subject: [PATCH] Removed obsolete todo. --- client/CAdvmapInterface.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/client/CAdvmapInterface.cpp b/client/CAdvmapInterface.cpp index 0e8d052e5..dbd84d18d 100644 --- a/client/CAdvmapInterface.cpp +++ b/client/CAdvmapInterface.cpp @@ -611,7 +611,6 @@ void CTerrainRect::showPath(const SDL_Rect * extRect) int pn=-1;//number of picture if (i==0) //last tile { - // TODO: use right variable instead of (7,6). Twice in this function. int x = 32*(currentPath->nodes[i].coord.x-LOCPLINT->adventureInt->position.x)+CGI->mh->offsetX + pos.x, y = 32*(currentPath->nodes[i].coord.y-LOCPLINT->adventureInt->position.y)+CGI->mh->offsetY + pos.y; if (x<0 || y<0 || x>pos.w || y>pos.h)