mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-27 19:14:30 +00:00
fixup to distance 534
This commit is contained in:
1 parent
0a9714e657
commit
df67249ec0
1 file changed
+1
@@ -771,6 +771,7 @@ enum orbAction { roMouse, roKeyboard, roCheck, roMouseForce, roMultiCheck, roMul
|
||||
#define pmodel (pconf.model)
|
||||
|
||||
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) {
|
||||
return m.add(prio, static_cast<U&&>(hook));
|
||||
|
||||
Reference in new issue
Block a user