mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Switching costume
This commit is contained in:
@@ -183,8 +183,9 @@ void ApplyGhNetPackVisitor::visitManageEquippedArtifacts(ManageEquippedArtifacts
|
||||
{
|
||||
gh.throwIfWrongOwner(&pack, pack.artHolder);
|
||||
if(pack.saveCostume)
|
||||
gh.saveArtifactsCostume(pack.player, pack.artHolder, pack.costumeIdx);
|
||||
result = true;
|
||||
result = gh.saveArtifactsCostume(pack.player, pack.artHolder, pack.costumeIdx);
|
||||
else
|
||||
result = gh.switchArtifactsCostume(pack.player, pack.artHolder, pack.costumeIdx);
|
||||
}
|
||||
|
||||
void ApplyGhNetPackVisitor::visitAssembleArtifacts(AssembleArtifacts & pack)
|
||||
|
||||
Reference in New Issue
Block a user