1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

rv:: objmodels:: fixed loading the city model

This commit is contained in:
Zeno Rogue 2022-03-01 08:57:08 +01:00
parent e2b6b6b2eb
commit aaeab82425

View File

@ -95,8 +95,7 @@ void model::load_obj(model_data& md) {
object *co = nullptr;
bool textured = false;
fs.get<char>();
string oname;
scan(fs, oname);
string oname = scanline(fs);
println(hlog, "reading object: ", oname);
md.objindex.push_back(isize(md.objs));
hyperpoint ctr = Hypc;