Exemple #1
0
int Cl_LocalMobjState(int serverMobjState)
{
    if (serverMobjState < 0 || serverMobjState >= xlatMobjState.size())
        return 0; // Invalid state.
    return xlatMobjState[serverMobjState];
}
Exemple #2
0
int Cl_LocalMobjType(int serverMobjType)
{
    if (serverMobjType < 0 || serverMobjType >= xlatMobjType.size())
        return 0; // Invalid type.
    return xlatMobjType[serverMobjType];
}