mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
rv:: objmodels:: fixed loading the city model
This commit is contained in:
parent
e2b6b6b2eb
commit
aaeab82425
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user