mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-31 22:12:59 +00:00 
			
		
		
		
	fixup to distance 534
This commit is contained in:
		
							
								
								
									
										1
									
								
								hyper.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								hyper.h
									
									
									
									
									
								
							| @@ -771,6 +771,7 @@ enum orbAction { roMouse, roKeyboard, roCheck, roMouseForce, roMultiCheck, roMul | |||||||
| #define pmodel (pconf.model) | #define pmodel (pconf.model) | ||||||
|  |  | ||||||
| static constexpr int DISTANCE_UNKNOWN = 127; | static constexpr int DISTANCE_UNKNOWN = 127; | ||||||
|  | static constexpr int DISTANCE_UNKNOWN_BIG = 99999999; | ||||||
|  |  | ||||||
| template<class T, class U> int addHook(hookset<T>& m, int prio, U&& hook) { | template<class T, class U> int addHook(hookset<T>& m, int prio, U&& hook) { | ||||||
|   return m.add(prio, static_cast<U&&>(hook)); |   return m.add(prio, static_cast<U&&>(hook)); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue