Turn forgotten catch-by-value into catch-by-reference.

This commit is contained in:
Alexander van Gessel 2009-07-26 15:14:17 +01:00
parent 0f3ef4dd75
commit 28ec5cc16e

View file

@ -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");