SZ_Write (sb, s, strlen(s)+1);
}
-// used by server (always latest dpprotocol)
+// used by server (always latest PROTOCOL_DARKPLACES)
void MSG_WriteDPCoord (sizebuf_t *sb, float f)
{
if (f >= 0)
return l;
}
-// used by server (always latest dpprotocol)
+// used by server (always latest PROTOCOL_DARKPLACES)
float MSG_ReadDPCoord (void)
{
return (signed short) MSG_ReadLittleShort();
// used by client
float MSG_ReadCoord (void)
{
- if (dpprotocol == DPPROTOCOL_VERSION2 || dpprotocol == DPPROTOCOL_VERSION3 || dpprotocol == DPPROTOCOL_VERSION4)
+ if (cl.protocol == PROTOCOL_DARKPLACES2 || cl.protocol == PROTOCOL_DARKPLACES3 || cl.protocol == PROTOCOL_DARKPLACES4)
return (signed short) MSG_ReadLittleShort();
- else if (dpprotocol == DPPROTOCOL_VERSION1)
+ else if (cl.protocol == PROTOCOL_DARKPLACES1)
return MSG_ReadLittleFloat();
else
return MSG_ReadLittleShort() * (1.0f/8.0f);
break;
case GAME_TEU:
gamename = "TheEvilUnleashed";
- gamedirname = "teu";
+ gamedirname = "baseteu";
break;
case GAME_BATTLEMECH:
gamename = "Battlemech";