1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

display owner of ownable objects in tooltip

also displays owner of towns (deviation from oh3)
This commit is contained in:
Andrey Filipenkov
2023-01-21 14:25:43 +03:00
parent a19c9eccc4
commit 2a43b7cfbc
3 changed files with 5 additions and 13 deletions

View File

@@ -523,7 +523,6 @@ class DLL_LINKAGE CGLighthouse : public CGObjectInstance
public:
void onHeroVisit(const CGHeroInstance * h) const override;
void initObj(CRandomGenerator & rand) override;
std::string getHoverText(PlayerColor player) const override;
template <typename Handler> void serialize(Handler &h, const int version)
{