1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fixed remaining CWE-457 in NetPacks.h

This commit is contained in:
AlexVinS
2016-11-26 20:49:26 +03:00
parent 7befacfb1e
commit 7793a57b0a
2 changed files with 79 additions and 69 deletions

View File

@@ -926,20 +926,3 @@ void SetAvailableArtifacts::applyCl(CClient *cl)
INTERFACE_CALL_IF_PRESENT(cl->getTile(bm->visitablePos())->visitableObjects.back()->tempOwner, availableArtifactsChanged, bm);
}
}
void TradeComponents::applyCl(CClient *cl)
{///Shop handler
switch (CGI->mh->map->objects.at(objectid)->ID)
{
case Obj::BLACK_MARKET:
break;
case Obj::TAVERN:
break;
case Obj::DEN_OF_THIEVES:
break;
case Obj::TRADING_POST_SNOW:
break;
default:
logNetwork->warnStream() << "Shop type not supported!";
}
}