mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
CGSignBottle serialization
This commit is contained in:
parent
a6c719ee11
commit
d8d574ed84
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user