1
0
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:
Zeno Rogue 2024-05-08 21:29:06 +02:00
parent 0a9714e657
commit df67249ec0

View File

@ -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));