mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
Remove unused code
This commit is contained in:
committed by
GitHub
parent
1555c51313
commit
cf97bf2cfd
@ -1179,14 +1179,6 @@ DLL_LINKAGE void AssembledArtifact::applyGs(CGameState *gs)
|
||||
|
||||
UNUSED(transformedArt);
|
||||
|
||||
if(!vstd::contains_if(transformedArt->assemblyPossibilities(artSet, combineEquipped), [=](const CArtifact * art)->bool
|
||||
{
|
||||
return art->id == builtArt->id;
|
||||
}))
|
||||
{
|
||||
throw std::exception("Bad");
|
||||
}
|
||||
|
||||
auto combinedArt = new CCombinedArtifactInstance(builtArt);
|
||||
gs->map->addNewArtifactInstance(combinedArt);
|
||||
// Retrieve all constituents
|
||||
|
Reference in New Issue
Block a user