2
0
Эх сурвалжийг харах

Remove leftover commander artifact code

Dydzio 8 жил өмнө
parent
commit
79c101a56d

+ 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.)
 	}
 }