Turn forgotten catch-by-value into catch-by-reference.
This commit is contained in:
parent
0f3ef4dd75
commit
28ec5cc16e
1 changed files with 1 additions and 1 deletions
|
@ -3107,7 +3107,7 @@ private:
|
|||
{
|
||||
try {
|
||||
add_chat_message(time(NULL), _("ai"), 0, ai::manager::evaluate_command(side_num, str));
|
||||
} catch(end_turn_exception) {
|
||||
} catch(end_turn_exception&) {
|
||||
resources::controller->force_end_turn();
|
||||
} catch(...) {
|
||||
//add_chat_message(time(NULL), _("ai"), 0, "ERROR IN FORMULA");
|
||||
|
|
Loading…
Add table
Reference in a new issue