Fix the bogus loading plaque when disconnected (nq).

This commit is contained in:
Bill Currie 2012-07-06 10:44:29 +09:00
parent a558f1b0f4
commit d4f4e450e6

View file

@ -489,18 +489,20 @@ CL_SetState (cactive_t state)
break;
case ca_disconnected:
cls.signon = so_none;
cl.loading = true;
cl.loading = false;
VID_SetCaption ("Disconnected");
break;
case ca_connected:
cls.signon = so_none; // need all the signon messages
// before playing
cl.loading = true;
Key_SetKeyDest (key_game);
IN_ClearStates ();
VID_SetCaption ("Connected");
break;
case ca_active:
// entering active state
cl.loading = false;
Key_SetKeyDest (key_game);
IN_ClearStates ();
VID_SetCaption ("");