mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 03:06:29 +00:00
Catch exceptions by reference (by convention), based on patch from Markus, refs #1852
This was SVN commit r13421.
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2012 Wildfire Games.
|
||||
/* Copyright (C) 2013 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -258,7 +258,7 @@ static int ProgressiveLoad()
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (PSERROR_Game_World_MapLoadFailed e)
|
||||
catch (PSERROR_Game_World_MapLoadFailed& e)
|
||||
{
|
||||
// Map loading failed
|
||||
|
||||
|
||||
Reference in New Issue
Block a user