瀏覽代碼

Removed obsolete todo.

Frank Zago 16 年之前
父節點
當前提交
cf6a4c7d9a
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      client/CAdvmapInterface.cpp

+ 0 - 1
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)