Make sure infokey(ent,"protocol") reports something unique for qex-protocol clients.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6292 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
de644a5384
commit
5d0dd2ef8f
1 changed files with 14 additions and 4 deletions
|
@ -6487,16 +6487,26 @@ char *PF_infokey_Internal (int entnum, const char *key)
|
|||
value = "quake3"; //can actually happen.
|
||||
break;
|
||||
case SCP_NETQUAKE:
|
||||
if (controller->qex)
|
||||
value = "qex15";
|
||||
else
|
||||
value = "quake";
|
||||
break;
|
||||
case SCP_BJP3:
|
||||
value = "bjp3";
|
||||
break;
|
||||
case SCP_FITZ666:
|
||||
if (controller->qex)
|
||||
{
|
||||
if (controller->netchan.netprim.coordtype != COORDTYPE_FIXED_13_3)
|
||||
value = "rmq999";
|
||||
value = "qex999";
|
||||
else
|
||||
value = "fitz666";
|
||||
value = "qex666";
|
||||
}
|
||||
else if (controller->netchan.netprim.coordtype != COORDTYPE_FIXED_13_3)
|
||||
value = controller->fteprotocolextensions2?"rmq999+fte2":"rmq999";
|
||||
else
|
||||
value = controller->fteprotocolextensions2?"fitz666+fte2":"fitz666";
|
||||
break;
|
||||
case SCP_DARKPLACES6:
|
||||
value = "dpp6";
|
||||
|
|
Loading…
Reference in a new issue