mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 14:02:59 +00:00 
			
		
		
		
	fixed a freeze in snowballs
This commit is contained in:
		| @@ -319,7 +319,8 @@ auto hchook = addHook(hooks_drawcell, 100, draw_snow) | ||||
|     euc::build_torus3(); | ||||
|     set_geometry(gCubeTiling); | ||||
|     snow_lambda = 20; | ||||
|     tour::on_restore([bak] { auto& T0 = euc::eu_input.user_axes; stop_game(); T0 = bak; euc::build_torus3(); start_game(); }); | ||||
|     static bool once; once = false; | ||||
|     tour::on_restore([bak] { if(once) return; once = true; auto& T0 = euc::eu_input.user_axes; stop_game(); T0 = bak; euc::build_torus3(); start_game(); }); | ||||
|     }); | ||||
|   snow_slide(v, "Hyperbolic geometry", "To the contrary, in hyperbolic geometry, parallax works in a completely different way. Everything moves. This space is expanding everywhere. Exponentially. In every geometry, snowballs close to us behave in a similar way as in the Euclidean space.", [] { | ||||
|     set_geometry(gSpace534); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue