Fixing 2 compiler warnings

This commit is contained in:
Richard Allen 2003-03-31 01:23:54 +00:00
parent 1a5d5922e1
commit ed6a3b7a39
2 changed files with 8 additions and 2 deletions

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.11 2003/03/31 01:23:54 jbravo
// Fixing 2 compiler warnings
//
// Revision 1.10 2002/09/08 13:14:47 makro
// New code added for the callvote menu map list
//
@ -80,7 +83,7 @@ static RQ3_GameType_t RQ3_GameTypes[] = {
{"none", 0}
};
static int UI_RQ3_DefaultArenaGameType = 1 << GT_FFA;
// static int UI_RQ3_DefaultArenaGameType = 1 << GT_FFA;
//end Makro

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.66 2003/03/31 01:23:54 jbravo
// Fixing 2 compiler warnings
//
// Revision 1.65 2003/03/31 00:23:18 makro
// Replacements and stuff
//
@ -2611,7 +2614,7 @@ void UI_BuildReplacementList(const char *type)
for (i = 0; i < numfiles && uiInfo.replacements.Count < MAX_UI_REPLACEMENTS; i++, fileptr += filelen + 1)
{
filelen = strlen(fileptr);
if (strnicmp(fileptr, va("%s_", type), strlen(type)+1))
if (Q_stricmpn(fileptr, va("%s_", type), strlen(type)+1))
continue;
UI_AddReplacement(va("models/replacements/%s", fileptr));
}