mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Fix text identifier for generic signs without custom text
This commit is contained in:
parent
2261298d09
commit
2de7a3939a
@ -937,7 +937,7 @@ void CGSignBottle::initObj(CRandomGenerator & rand)
|
|||||||
{
|
{
|
||||||
auto vector = VLC->generaltexth->findStringsWithPrefix("core.randsign");
|
auto vector = VLC->generaltexth->findStringsWithPrefix("core.randsign");
|
||||||
std::string messageIdentifier = *RandomGeneratorUtil::nextItem(vector, rand);
|
std::string messageIdentifier = *RandomGeneratorUtil::nextItem(vector, rand);
|
||||||
message.appendTextID(TextIdentifier("core", "randsign", messageIdentifier).get());
|
message.appendTextID(messageIdentifier);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ID == Obj::OCEAN_BOTTLE)
|
if(ID == Obj::OCEAN_BOTTLE)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user