mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Fix some issues detected by Sonar & code review, fix build
This commit is contained in:
@@ -161,7 +161,7 @@ void CQuestLog::recreateLabelList()
|
||||
|
||||
MetaString text;
|
||||
questPtr->getRolloverText(GAME->interface()->cb.get(), text, false);
|
||||
if (quests[i].obj)
|
||||
if (quests[i].obj.hasValue())
|
||||
{
|
||||
if (auto seersHut = dynamic_cast<const CGSeerHut *>(questObject))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user