mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Merge pull request #256 from WolfWings/patch-4
...too much MISSIONPACK ifdeffery.
This commit is contained in:
commit
3b0a862290
1 changed files with 0 additions and 4 deletions
|
@ -1682,18 +1682,14 @@ static void CG_FeederSelection(float feederID, int index) {
|
|||
cg.selectedScore = index;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
static float CG_Cvar_Get(const char *cvar) {
|
||||
char buff[128];
|
||||
memset(buff, 0, sizeof(buff));
|
||||
trap_Cvar_VariableStringBuffer(cvar, buff, sizeof(buff));
|
||||
return atof(buff);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef MISSIONPACK
|
||||
void CG_Text_PaintWithCursor(float x, float y, float scale, vec4_t color, const char *text, int cursorPos, char cursor, int limit, int style) {
|
||||
CG_Text_Paint(x, y, scale, color, text, 0, limit, style);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue