mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Added popup for keymasters/border guards similar to teleporters
This commit is contained in:
@@ -803,6 +803,11 @@ std::string CGKeys::getObjectName() const
|
||||
return VLC->generaltexth->tentColors[subID.getNum()] + " " + CGObjectInstance::getObjectName();
|
||||
}
|
||||
|
||||
std::string CGKeys::getObjectDescription(PlayerColor player) const
|
||||
{
|
||||
return visitedTxt(wasMyColorVisited(player));
|
||||
}
|
||||
|
||||
bool CGKeymasterTent::wasVisited (PlayerColor player) const
|
||||
{
|
||||
return wasMyColorVisited (player);
|
||||
|
||||
Reference in New Issue
Block a user