diff --git a/src/mg_schematic.cpp b/src/mg_schematic.cpp index 6215bce945fb0484c640963af0011c5a6f9ad579..71f6f421c5b6f230ca9867834c45b09b10393663 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) { } }