Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/model.cc')
-rw-r--r--src/model/model.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/model.cc b/src/model/model.cc
index 3ed5a93..b02f127 100644
--- a/src/model/model.cc
+++ b/src/model/model.cc
@@ -103,7 +103,7 @@ Model *Model::load(std::string const & name)
Model *model = find(name);
if (!model) {
// try loading the .map model
- model = Map::load(name);
+ model = MapFile::load(name);
}
if (!model) {
@@ -112,7 +112,7 @@ Model *Model::load(std::string const & name)
}
if (!model) {
- con_warn << "Could not load maps/" << name << ".map or models/" << name << ".ase" << std::endl;
+ con_warn << "Could not open " << name << std::endl;
} else {
model_registry[model->name()] = model;
}