mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-27 22:43:48 +00:00
Release 25 UI
This commit is contained in:
parent
7ad6e28bb3
commit
f3fbe78e9c
2 changed files with 20 additions and 17 deletions
|
@ -87,11 +87,11 @@ void UI_CheckKickCvar( void ) {
|
|||
trap_Cvar_VariableStringBuffer("RQ3_CvarKickReason", Cvar, sizeof(Cvar));
|
||||
|
||||
if (strlen(Cvar)) {
|
||||
Com_Printf("AHAH!: [%s]\n", Cvar);
|
||||
trap_Cvar_Set("RQ3_CvarKickReason", "");
|
||||
strcat(Reason, Cvar);
|
||||
strcat(Reason, " is out of range.");
|
||||
s_main.rq3_kicktext.string = Reason;
|
||||
Com_Printf("%s\n", Reason);
|
||||
}
|
||||
else {
|
||||
s_main.rq3_kicktext.string = "";
|
||||
|
|
|
@ -435,6 +435,9 @@ static void PlayerModel_BuildList( void )
|
|||
if (!strcmp(dirptr,".") || !strcmp(dirptr,".."))
|
||||
continue;
|
||||
|
||||
// NiceAss: hardcoded hack to prevent other models.
|
||||
if (strcmp(dirptr,"grunt")) continue;
|
||||
|
||||
// iterate all skin files in directory
|
||||
numfiles = trap_FS_GetFileList( va("models/players/%s",dirptr), "tga", filelist, 2048 );
|
||||
fileptr = filelist;
|
||||
|
|
Loading…
Reference in a new issue