mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix issues reported by Sonar, review fixes
This commit is contained in:
@@ -496,7 +496,7 @@ void CGSeerHut::initObj(vstd::RNG & rand)
|
||||
|
||||
void CGSeerHut::getRolloverText(MetaString &text, bool onHover) const
|
||||
{
|
||||
getQuest().getRolloverText(cb, text, onHover);//TODO: simplify?
|
||||
getQuest().getRolloverText(cb, text, onHover);
|
||||
if(!onHover)
|
||||
text.replaceRawString(seerName);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user