浏览代码

Remove leftover commander artifact code

Dydzio 8 年之前
父节点
当前提交
79c101a56d
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      client/windows/CCreatureWindow.cpp

+ 0 - 3
client/windows/CCreatureWindow.cpp

@@ -460,10 +460,7 @@ void CStackWindow::CWindowSection::createCommander()
 	for (auto equippedArtifact : parent->info->commander->artifactsWorn)
 	{
 		Point artPos = getArtifactPos(equippedArtifact.first);
-		//auto icon = new CClickableObject(new CAnimImage("artifact", equippedArtifact.second.artifact.get()->artType.get()->iconIndex, 0, artPos.x, artPos.y), [=] {});
 		auto icon = new CCommanderArtPlace(artPos, parent->info->owner, equippedArtifact.first, equippedArtifact.second.artifact);
-
-		//TODO: Use CArtPlace or equivalent instead of CClickableObject and handle commander artifact actions to match WOG (return artifact to hero etc.)
 	}
 }