mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-26 01:50:36 +00:00
fixup to distance 534
This commit is contained in:
parent
0a9714e657
commit
df67249ec0
1
hyper.h
1
hyper.h
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user