aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mg_schematic.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mg_schematic.cpp b/src/mg_schematic.cpp
index 6215bce94..71f6f421c 100644
--- a/src/mg_schematic.cpp
+++ b/src/mg_schematic.cpp
@@ -18,6 +18,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
*/
#include <fstream>
+#include <typeinfo>
#include "mg_schematic.h"
#include "gamedef.h"
#include "mapgen.h"
@@ -53,7 +54,7 @@ void SchematicManager::clear()
DecoSchematic *dschem = dynamic_cast<DecoSchematic *>(deco);
if (dschem)
dschem->schematic = NULL;
- } catch(std::bad_cast) {
+ } catch (std::bad_cast) {
}
}