mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
* Fix some recently introduced warnings
* Fix referenced pk3 list including excessive number of spaces
This commit is contained in:
parent
563eb9443b
commit
845de6a960
3 changed files with 4 additions and 5 deletions
|
@ -1843,7 +1843,7 @@ void CL_ServersResponsePacket( netadr_t from, msg_t *msg ) {
|
||||||
int numservers;
|
int numservers;
|
||||||
byte* buffptr;
|
byte* buffptr;
|
||||||
byte* buffend;
|
byte* buffend;
|
||||||
netadrtype_t family;
|
netadrtype_t family = NA_IP;
|
||||||
|
|
||||||
Com_Printf("CL_ServersResponsePacket\n");
|
Com_Printf("CL_ServersResponsePacket\n");
|
||||||
|
|
||||||
|
|
|
@ -3112,10 +3112,10 @@ const char *FS_ReferencedPakNames( void ) {
|
||||||
for ( search = fs_searchpaths ; search ; search = search->next ) {
|
for ( search = fs_searchpaths ; search ; search = search->next ) {
|
||||||
// is the element a pak file?
|
// is the element a pak file?
|
||||||
if ( search->pack ) {
|
if ( search->pack ) {
|
||||||
|
if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename, BASEGAME, strlen(BASEGAME))) {
|
||||||
if (*info) {
|
if (*info) {
|
||||||
Q_strcat(info, sizeof( info ), " " );
|
Q_strcat(info, sizeof( info ), " " );
|
||||||
}
|
}
|
||||||
if (search->pack->referenced || Q_stricmpn(search->pack->pakGamename, BASEGAME, strlen(BASEGAME))) {
|
|
||||||
Q_strcat( info, sizeof( info ), search->pack->pakGamename );
|
Q_strcat( info, sizeof( info ), search->pack->pakGamename );
|
||||||
Q_strcat( info, sizeof( info ), "/" );
|
Q_strcat( info, sizeof( info ), "/" );
|
||||||
Q_strcat( info, sizeof( info ), search->pack->pakBasename );
|
Q_strcat( info, sizeof( info ), search->pack->pakBasename );
|
||||||
|
|
|
@ -5939,7 +5939,6 @@ UI_StartServerRefresh
|
||||||
*/
|
*/
|
||||||
static void UI_StartServerRefresh(qboolean full)
|
static void UI_StartServerRefresh(qboolean full)
|
||||||
{
|
{
|
||||||
int i;
|
|
||||||
char *ptr;
|
char *ptr;
|
||||||
|
|
||||||
qtime_t q;
|
qtime_t q;
|
||||||
|
|
Loading…
Reference in a new issue