mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-13 08:27:42 +00:00
Fixing 2 compiler warnings
This commit is contained in:
parent
1a5d5922e1
commit
ed6a3b7a39
2 changed files with 8 additions and 2 deletions
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// Revision 1.10 2002/09/08 13:14:47 makro
|
||||||
// New code added for the callvote menu map list
|
// New code added for the callvote menu map list
|
||||||
//
|
//
|
||||||
|
@ -80,7 +83,7 @@ static RQ3_GameType_t RQ3_GameTypes[] = {
|
||||||
{"none", 0}
|
{"none", 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
static int UI_RQ3_DefaultArenaGameType = 1 << GT_FFA;
|
// static int UI_RQ3_DefaultArenaGameType = 1 << GT_FFA;
|
||||||
|
|
||||||
//end Makro
|
//end Makro
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,9 @@
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//
|
//
|
||||||
// $Log$
|
// $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
|
// Revision 1.65 2003/03/31 00:23:18 makro
|
||||||
// Replacements and stuff
|
// 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)
|
for (i = 0; i < numfiles && uiInfo.replacements.Count < MAX_UI_REPLACEMENTS; i++, fileptr += filelen + 1)
|
||||||
{
|
{
|
||||||
filelen = strlen(fileptr);
|
filelen = strlen(fileptr);
|
||||||
if (strnicmp(fileptr, va("%s_", type), strlen(type)+1))
|
if (Q_stricmpn(fileptr, va("%s_", type), strlen(type)+1))
|
||||||
continue;
|
continue;
|
||||||
UI_AddReplacement(va("models/replacements/%s", fileptr));
|
UI_AddReplacement(va("models/replacements/%s", fileptr));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue