#endif
#include <simgear/compiler.h>
+#include <simgear/structure/exception.hxx>
#include <Main/globals.hxx>
#include "FGTileLoader.hxx"
static bool beenhere = false;
if (!beenhere) {
tile_path = globals->get_fg_scenery();
+ if (!tile_path.size())
+ throw sg_throwable(string("No valid scenery path defined!"));
+
beenhere = true;
}