1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

PHASE no longer needs using namespace arg

This commit is contained in:
Zeno Rogue 2019-01-07 04:51:46 +01:00
parent 9de7aa27c5
commit c2dc4c8708

View File

@ -2174,7 +2174,7 @@ namespace arg {
int readLocal();
// 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; }
inline void cheat() { autocheat = true; cheater++; timerghost = false; }