mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-24 13:27:17 +00:00
PHASE no longer needs using namespace arg
This commit is contained in:
parent
9de7aa27c5
commit
c2dc4c8708
2
hyper.h
2
hyper.h
@ -2174,7 +2174,7 @@ namespace arg {
|
|||||||
int readLocal();
|
int readLocal();
|
||||||
|
|
||||||
// an useful macro
|
// an useful macro
|
||||||
#define PHASE(x) { if(arg::curphase > x) phaseerror(x); else if(arg::curphase < x) return 2; }
|
#define PHASE(x) { if(arg::curphase > x) arg::phaseerror(x); else if(arg::curphase < x) return 2; }
|
||||||
#define PHASEFROM(x) { if(arg::curphase < x) return 2; }
|
#define PHASEFROM(x) { if(arg::curphase < x) return 2; }
|
||||||
|
|
||||||
inline void cheat() { autocheat = true; cheater++; timerghost = false; }
|
inline void cheat() { autocheat = true; cheater++; timerghost = false; }
|
||||||
|
Loading…
Reference in New Issue
Block a user