[all] Compilation error when VOICE=YES and GVARS=NO

This commit is contained in:
bsongis
2013-03-20 13:31:27 +00:00
parent 8f7959a201
commit cffdacbe94
+2
View File
@@ -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);
}
}