From cffdacbe94151658df9cf0dffdff3624e938d337 Mon Sep 17 00:00:00 2001 From: bsongis Date: Wed, 20 Mar 2013 13:31:27 +0000 Subject: [PATCH] [all] Compilation error when VOICE=YES and GVARS=NO --- src/open9x.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/open9x.cpp b/src/open9x.cpp index 5be95fbea..18a6befb6 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -2509,8 +2509,10 @@ void evalFunctions() PLAY_VALUE(param, i+1); } else { +#if defined(GVARS) if (CFN_FUNC(sd) == FUNC_PLAY_TRACK && param > 250) param = GVAR_VALUE(param-251, getGVarFlightPhase(s_perout_flight_phase, param-251)); +#endif PUSH_CUSTOM_PROMPT(active ? param : param+1, i+1); } }