From 304e48d4b4812bb513779f2dc8f1c01b9790b67a Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 21 Jul 2018 18:03:53 +0200 Subject: [PATCH] arg::cheat() is now inline --- hyper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hyper.h b/hyper.h index 028c045b..4629a192 100644 --- a/hyper.h +++ b/hyper.h @@ -1832,7 +1832,7 @@ namespace arg { #define PHASE(x) { if(arg::curphase > x) phaseerror(x); else if(arg::curphase < x) return 2; } #define PHASEFROM(x) { if(arg::curphase < x) return 2; } - void cheat() { autocheat = true; cheater++; timerghost = false; } + inline void cheat() { autocheat = true; cheater++; timerghost = false; } #define TOGGLE(x, param, act) \ else if(args()[0] == '-' && args()[1] == x && !args()[2]) { PHASEFROM(2); showstartmenu = false; act; } \