Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -40,7 +40,7 @@ void Battle::CheckChoicesSetAndRun() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} catch (const CreatureException& e) {
|
||||
} catch (const ArbUt::Exception& e) {
|
||||
throw e;
|
||||
} catch (const std::exception& e) {
|
||||
THROW_CREATURE("Exception during choices set validation: '" << e.what() << "'.")
|
||||
@@ -81,7 +81,7 @@ void Battle::CheckChoicesSetAndRun() {
|
||||
TriggerEventListener<TurnStartEvent>();
|
||||
try {
|
||||
TurnHandler::RunTurn(this->_currentTurnQueue);
|
||||
} catch (const CreatureException& e) {
|
||||
} catch (const ArbUt::Exception& e) {
|
||||
throw e;
|
||||
} catch (const std::exception& e) {
|
||||
THROW_CREATURE("Error during running a turn: '" << e.what() << "'.");
|
||||
|
||||
Reference in New Issue
Block a user