diff options
author | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2009-08-11 11:49:12 +0000 |
commit | 25bcd92706ce2cd6aee24cfb81e9ff2fd7dd4820 (patch) | |
tree | 19e71f817ffc36247f4db718454f3634904284b0 /src/model/model.cc | |
parent | a2ae048571310e80ba7502f1d81b5dd2eb1e38fa (diff) |
misc_model support
Diffstat (limited to 'src/model/model.cc')
-rw-r--r-- | src/model/model.cc | 4 |
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; } |