From 32631d7354556ff88ecfe3ff9a9d80075422fbef Mon Sep 17 00:00:00 2001 From: Ben Millwood Date: Sat, 3 Oct 2009 12:12:12 +0000 Subject: * Add BG_EventName and use it to simplify a series of debugging messages * Correct crouch check in ClientTimerActions * Ensure animation togglebit on buildables is only used once per frame (bug 3377) * Make G_FloodLimited more robust and with a pointlessly informative return value * Add a brief comment to the G_SayArg* functions to explain their purpose, which wasn't at all clear to me until I experimented with them * Remove more redundant va()s * Remove an unused variable and associated functions that were causing a compiler warning --- src/ui/ui_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/ui_main.c b/src/ui/ui_main.c index 304222af..df295a4e 100644 --- a/src/ui/ui_main.c +++ b/src/ui/ui_main.c @@ -4351,7 +4351,8 @@ void UI_DrawConnectScreen( qboolean overlay ) Text_PaintCenter( centerPoint, yStart, scale, colorWhite, va( "Loading %s", Info_ValueForKey( info, "mapname" ) ), 0 ); if( !Q_stricmp( cstate.servername, "localhost" ) ) - Text_PaintCenter( centerPoint, yStart + 48, scale, colorWhite, va( "Starting up..." ), ITEM_TEXTSTYLE_SHADOWEDMORE ); + Text_PaintCenter( centerPoint, yStart + 48, scale, colorWhite, + "Starting up...", ITEM_TEXTSTYLE_SHADOWEDMORE ); else { Com_sprintf( text, sizeof( text ), "Connecting to %s", cstate.servername ); -- cgit