mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
[mingw]
*VCAI fix build
This commit is contained in:
parent
c330188ef5
commit
d99bc7ca07
@ -2120,7 +2120,7 @@ void VCAI::striveToGoal(const CGoal &ultimateGoal)
|
|||||||
|
|
||||||
if (!maxGoals)
|
if (!maxGoals)
|
||||||
{
|
{
|
||||||
std::exception e("Too many subgoals, don't know what to do");
|
std::runtime_error e("Too many subgoals, don't know what to do");
|
||||||
throw (e);
|
throw (e);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -2193,7 +2193,7 @@ void VCAI::striveToGoal(const CGoal &ultimateGoal)
|
|||||||
boost::this_thread::interruption_point();
|
boost::this_thread::interruption_point();
|
||||||
if (!maxGoals)
|
if (!maxGoals)
|
||||||
{
|
{
|
||||||
std::exception e("Too many subgoals, don't know what to do");
|
std::runtime_error e("Too many subgoals, don't know what to do");
|
||||||
throw (e);
|
throw (e);
|
||||||
}
|
}
|
||||||
tryRealize(goal);
|
tryRealize(goal);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user