mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	rv:: objmodels:: fixed loading the city model
This commit is contained in:
		| @@ -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; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue