mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-21 21:17:49 +02:00
One more fix.
This commit is contained in:
parent
aec04d920e
commit
0c3ccda922
@ -87,7 +87,7 @@ std::string Goals::AbstractGoal::name() const //TODO: virtualize
|
|||||||
default:
|
default:
|
||||||
return boost::lexical_cast<std::string>(goalType);
|
return boost::lexical_cast<std::string>(goalType);
|
||||||
}
|
}
|
||||||
if (hero.h)
|
if (hero.get(true)) //FIXME: used to crash when we lost hero and failed goal
|
||||||
desc += " (" + hero->name + ")";
|
desc += " (" + hero->name + ")";
|
||||||
return desc;
|
return desc;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user