From 5f5ab1fdfdd4613f3857d700cef24b851cc3e01a Mon Sep 17 00:00:00 2001 From: Spoike Date: Thu, 9 Dec 2004 23:30:03 +0000 Subject: [PATCH] More portable window caption code. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@593 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/cl_pred.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/engine/client/cl_pred.c b/engine/client/cl_pred.c index c35a634c9..a7e28fa05 100644 --- a/engine/client/cl_pred.c +++ b/engine/client/cl_pred.c @@ -586,13 +586,10 @@ void CL_PredictMovePNum (int pnum) if (cls.state == ca_onserver) { // first update is the final signon stage - char text[1024]; - cls.state = ca_active; - sprintf (text, "FTE QuakeWorld: %s", cls.servername); -#ifdef _WIN32 - SetWindowText (mainwindow, text); -#endif + if (VID_SetWindowCaption) + VID_SetWindowCaption(va("FTE QuakeWorld: %s", cls.servername)); + SCR_EndLoadingPlaque(); }