mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-10-31 19:36:16 +00:00
nilrider:: we need CAP_TEXTURE, and CAP_CONFIG guard added
This commit is contained in:
parent
b0c34c4f2c
commit
3ac690434d
@ -4,6 +4,7 @@
|
|||||||
#define CAP_INV 0
|
#define CAP_INV 0
|
||||||
#define CAP_COMPLEX2 0
|
#define CAP_COMPLEX2 0
|
||||||
#define CAP_EDIT 0
|
#define CAP_EDIT 0
|
||||||
|
#define CAP_TEXTURE 1
|
||||||
#define CAP_BT 0
|
#define CAP_BT 0
|
||||||
#define CAP_SOLV 0
|
#define CAP_SOLV 0
|
||||||
#define CAP_THREAD 0
|
#define CAP_THREAD 0
|
||||||
@ -498,7 +499,9 @@ bool on;
|
|||||||
void change_default_key(int key, int val) {
|
void change_default_key(int key, int val) {
|
||||||
char* t = multi::scfg.keyaction;
|
char* t = multi::scfg.keyaction;
|
||||||
t[key] = val;
|
t[key] = val;
|
||||||
|
#if CAP_CONFIG
|
||||||
set_saver_default(t[key]);
|
set_saver_default(t[key]);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void nilrider_keys() {
|
void nilrider_keys() {
|
||||||
|
Loading…
Reference in New Issue
Block a user