remove a bunch of superfluous formatting calls
From /dev/humancontroller.
This commit is contained in:
parent
20c6d1e33f
commit
2db73231eb
6 changed files with 18 additions and 18 deletions
|
@ -931,7 +931,7 @@ void UI_LoadMenus(const char *menuFile, qboolean reset) {
|
|||
Com_Printf( S_COLOR_YELLOW "menu file not found: %s, using default\n", menuFile );
|
||||
handle = trap_PC_LoadSource( "ui/menus.txt" );
|
||||
if (!handle) {
|
||||
trap_Error( va( S_COLOR_RED "default menu file not found: ui/menus.txt, unable to continue!" ) );
|
||||
trap_Error( S_COLOR_RED "default menu file not found: ui/menus.txt, unable to continue!" );
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4472,7 +4472,7 @@ static void UI_FeederSelection(float feederID, int index) {
|
|||
UI_SelectedHead(index, &actual);
|
||||
index = actual;
|
||||
if (index >= 0 && index < uiInfo.characterCount) {
|
||||
trap_Cvar_Set( "team_model", va("%s", uiInfo.characterList[index].base));
|
||||
trap_Cvar_Set( "team_model", uiInfo.characterList[index].base);
|
||||
trap_Cvar_Set( "team_headmodel", va("*%s", uiInfo.characterList[index].name));
|
||||
updateModel = qtrue;
|
||||
}
|
||||
|
@ -4639,11 +4639,11 @@ static qboolean Character_Parse(char **p) {
|
|||
uiInfo.characterList[uiInfo.characterCount].imageName = String_Alloc(va("models/players/heads/%s/icon_default.tga", uiInfo.characterList[uiInfo.characterCount].name));
|
||||
|
||||
if (tempStr && (!Q_stricmp(tempStr, "female"))) {
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc(va("Janet"));
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc("Janet");
|
||||
} else if (tempStr && (!Q_stricmp(tempStr, "male"))) {
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc(va("James"));
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc("James");
|
||||
} else {
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc(va("%s",tempStr));
|
||||
uiInfo.characterList[uiInfo.characterCount].base = String_Alloc(tempStr);
|
||||
}
|
||||
|
||||
Com_Printf("Loaded %s character %s.\n", uiInfo.characterList[uiInfo.characterCount].base, uiInfo.characterList[uiInfo.characterCount].name);
|
||||
|
@ -5554,7 +5554,7 @@ void UI_DrawConnectScreen( qboolean overlay ) {
|
|||
}
|
||||
|
||||
if (!Q_stricmp(cstate.servername,"localhost")) {
|
||||
Text_PaintCenter(centerPoint, yStart + 48, scale, colorWhite, va("Starting up..."), ITEM_TEXTSTYLE_SHADOWEDMORE);
|
||||
Text_PaintCenter(centerPoint, yStart + 48, scale, colorWhite, "Starting up...", ITEM_TEXTSTYLE_SHADOWEDMORE);
|
||||
} else {
|
||||
strcpy(text, va("Connecting to %s", cstate.servername));
|
||||
Text_PaintCenter(centerPoint, yStart + 48, scale, colorWhite,text , ITEM_TEXTSTYLE_SHADOWEDMORE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue