mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +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;
|
object *co = nullptr;
|
||||||
bool textured = false;
|
bool textured = false;
|
||||||
fs.get<char>();
|
fs.get<char>();
|
||||||
string oname;
|
string oname = scanline(fs);
|
||||||
scan(fs, oname);
|
|
||||||
println(hlog, "reading object: ", oname);
|
println(hlog, "reading object: ", oname);
|
||||||
md.objindex.push_back(isize(md.objs));
|
md.objindex.push_back(isize(md.objs));
|
||||||
hyperpoint ctr = Hypc;
|
hyperpoint ctr = Hypc;
|
||||||
|
Loading…
Reference in New Issue
Block a user