mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 05:52:59 +00:00 
			
		
		
		
	rogueviz::seuphorica:: correct coordinates given for from_map
This commit is contained in:
		| @@ -640,7 +640,11 @@ void snapshot() { | ||||
|   } | ||||
|  | ||||
| void from_map(coord co, struct tile& t) { | ||||
|   snapshots.back().emplace(t.id, snaptile{t, eupoint(vid.xres/2, vid.yres/2)}); | ||||
|   shiftpoint h = ggmatrix(co) * tile_center(); | ||||
|   hyperpoint h1; | ||||
|   applymodel(h, h1); | ||||
|   h1 = toscrcoord(h1); | ||||
|   snapshots.back().emplace(t.id, snaptile{t, eupoint(h1[0], h1[1])}); | ||||
|   } | ||||
|  | ||||
| void is_clone(struct tile& orig, struct tile& clone) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue