mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Discharging conditions
This commit is contained in:
@@ -1027,6 +1027,7 @@ struct DLL_LINKAGE DischargeArtifact : CArtifactOperationPack
|
||||
{
|
||||
ArtifactInstanceID id;
|
||||
uint16_t charges;
|
||||
std::optional<ArtifactLocation> artLoc;
|
||||
|
||||
DischargeArtifact() = default;
|
||||
DischargeArtifact(const ArtifactInstanceID & id, const uint16_t charges)
|
||||
@@ -1041,6 +1042,7 @@ struct DLL_LINKAGE DischargeArtifact : CArtifactOperationPack
|
||||
{
|
||||
h & id;
|
||||
h & charges;
|
||||
h & artLoc;
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user