diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | assets/ui/tremulous_common_hud.h | 2 | ||||
-rw-r--r-- | src/qcommon/msg.c | 8 |
3 files changed, 8 insertions, 6 deletions
@@ -429,7 +429,9 @@ ifeq ($(PLATFORM),mingw32) # Some MinGW installations define CC to cc, but don't actually provide cc, # so explicitly use gcc instead (which is the only option anyway) - CC=gcc + ifeq ($(shell which $(CC) > /dev/null; echo $$?),1) + CC=gcc + endif ifndef WINDRES WINDRES=windres diff --git a/assets/ui/tremulous_common_hud.h b/assets/ui/tremulous_common_hud.h index acdf5120..51e5d62f 100644 --- a/assets/ui/tremulous_common_hud.h +++ b/assets/ui/tremulous_common_hud.h @@ -115,7 +115,7 @@ itemDef aspectBias ALIGN_RIGHT visible MENU_TRUE decoration - forecolor COMMON_HUD_R COMMON_HUD_G COMMON_HUD_B 1 + forecolor 1 1 1 1 textalign ALIGN_RIGHT textscale 0.3 ownerdraw CG_PLAYER_LOCATION diff --git a/src/qcommon/msg.c b/src/qcommon/msg.c index 9893a65a..f79d6b59 100644 --- a/src/qcommon/msg.c +++ b/src/qcommon/msg.c @@ -312,9 +312,9 @@ void MSG_WriteString( msg_t *sb, const char *s ) { } Q_strncpyz( string, s, sizeof( string ) ); - // get rid of 0x80+ and '%' chars, because old clients don't like them + // get rid of 0x80+ chars, because old clients don't like them for ( i = 0 ; i < l ; i++ ) { - if ( ((byte *)string)[i] > 127 || string[i] == '%' ) { + if ( ((byte *)string)[i] > 127 ) { string[i] = '.'; } } @@ -338,9 +338,9 @@ void MSG_WriteBigString( msg_t *sb, const char *s ) { } Q_strncpyz( string, s, sizeof( string ) ); - // get rid of 0x80+ and '%' chars, because old clients don't like them + // get rid of 0x80+ chars, because old clients don't like them for ( i = 0 ; i < l ; i++ ) { - if ( ((byte *)string)[i] > 127 || string[i] == '%' ) { + if ( ((byte *)string)[i] > 127 ) { string[i] = '.'; } } |