mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
Serializer will now smartly send over network CArtifact* and CHero*. Unified handling of items stored in vector.
Started making support for Black Market / Artifact merchant.
This commit is contained in:
@ -165,7 +165,7 @@ void MetaString::getLocalString(const std::pair<ui8,ui32> &txt, std::string &dst
|
||||
|
||||
if(type == ART_NAMES)
|
||||
{
|
||||
dst = VLC->arth->artifacts[ser].Name();
|
||||
dst = VLC->arth->artifacts[ser]->Name();
|
||||
}
|
||||
else if(type == CRE_PL_NAMES)
|
||||
{
|
||||
@ -189,7 +189,7 @@ void MetaString::getLocalString(const std::pair<ui8,ui32> &txt, std::string &dst
|
||||
}
|
||||
else if(type == ART_DESCR)
|
||||
{
|
||||
dst = VLC->arth->artifacts[ser].Description();
|
||||
dst = VLC->arth->artifacts[ser]->Description();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user