mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-08-30 09:17:57 +00:00
Rationalize some std::exception stuff.
This commit is contained in:
@@ -288,7 +288,7 @@ EX namespace history {
|
||||
auto p = build_shortest_path(start, target);
|
||||
path_for_lineanimation = p;
|
||||
}
|
||||
catch(hr_shortest_path_exception&) {
|
||||
catch(const hr_shortest_path_exception&) {
|
||||
addMessage("Could not build a path");
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user