Explorar el Código

BulkEraseArtifacts crash fix

SoundSSGood hace 1 año
padre
commit
c472b2ce5e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/networkPacks/NetPacksLib.cpp

+ 1 - 1
lib/networkPacks/NetPacksLib.cpp

@@ -1715,7 +1715,7 @@ void BulkEraseArtifacts::applyGs(CGameState *gs)
 			for(auto & slotInfoWorn : artSet->artifactsWorn)
 			{
 				auto art = slotInfoWorn.second.artifact;
-				if(art->isCombined() && art->isPart(slotInfo->getArt()))
+				if(art->isCombined() && art->isPart(slotInfo->artifact))
 				{
 					dis.al.slot = artSet->getArtPos(art);
 					break;