mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-20 15:40:26 +00:00
ADC now checks IF_MAP_CONTAINS_KEY
This commit is contained in:
parent
ef8b24ff2a
commit
18c6aa7823
@ -45,7 +45,7 @@ EX bool hide_player() {
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ADC(V,c) for(const shiftmatrix& V: current_display->all_drawn_copies[c])
|
#define ADC(V,c) IF_MAP_CONTAINS_KEY(it, current_display->all_drawn_copies, c) for(const shiftmatrix& V: it->second)
|
||||||
|
|
||||||
EX hookset<bool(int sym, int uni)> hooks_handleKey;
|
EX hookset<bool(int sym, int uni)> hooks_handleKey;
|
||||||
EX hookset<bool(cell *c, const shiftmatrix& V)> hooks_drawcell;
|
EX hookset<bool(cell *c, const shiftmatrix& V)> hooks_drawcell;
|
||||||
|
Loading…
Reference in New Issue
Block a user