1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

CGSignBottle serialization

This commit is contained in:
AlexVinS 2016-02-04 08:50:46 +03:00
parent a6c719ee11
commit d8d574ed84

View File

@ -1694,12 +1694,12 @@ void CGSignBottle::onHeroVisit( const CGHeroInstance * h ) const
void CGSignBottle::writeJsonOptions(JsonNode& json) const
{
json["text"].String() = message;
}
void CGSignBottle::readJsonOptions(const JsonNode& json)
{
message = json["text"].String();
}
void CGScholar::onHeroVisit( const CGHeroInstance * h ) const