Always send skin metadata even if no additional boxes are available
This commit is contained in:
@@ -2705,14 +2705,7 @@ void ClientConnection::handleTextureAndGeometry(shared_ptr<TextureAndGeometryPac
|
|||||||
{
|
{
|
||||||
if(pDLCSkinFile)
|
if(pDLCSkinFile)
|
||||||
{
|
{
|
||||||
if(pDLCSkinFile->getAdditionalBoxesCount()!=0)
|
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwBytes, pDLCSkinFile));
|
||||||
{
|
|
||||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwBytes, pDLCSkinFile));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwBytes));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -885,14 +885,7 @@ void PlayerConnection::handleTextureAndGeometry(shared_ptr<TextureAndGeometryPac
|
|||||||
|
|
||||||
if(pDLCSkinFile)
|
if(pDLCSkinFile)
|
||||||
{
|
{
|
||||||
if(pDLCSkinFile->getAdditionalBoxesCount()!=0)
|
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile));
|
||||||
{
|
|
||||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes, pDLCSkinFile));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
send(std::make_shared<TextureAndGeometryPacket>(packet->textureName, pbData, dwTextureBytes));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user