]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/overlay.cpp
Derive application classes from RegisteredApplication
[r2c2.git] / source / 3d / overlay.cpp
index 6065dbf7ccbdac06e80503a9c6ae357ed2715ff4..c10a8db59121c31e35cf75d887a9172cf9f3ff90 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010-2011  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <algorithm>
 #include <cmath>
 #include <msp/fs/path.h>
@@ -147,7 +140,7 @@ const GL::Mesh *Overlay3D::get_graphic(const string &name)
                {
                        DataFile::load(*grf, (FS::Path("icons")/(name+".mesh")).str());
                }
-               catch(const Exception &e)
+               catch(const exception &e)
                {
                        IO::print("Error loading overlay graphic '%s': %s\n", name, e.what());
                        delete grf;