More portable window caption code.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@593 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a4aa668a7b
commit
5f5ab1fdfd
1 changed files with 3 additions and 6 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue