Ejemplo n.º 1
0
bool multiplayer(bool msg)
{
#ifdef CLIENT // INTENSITY
    bool val = !ClientSystem::editingAlone; // INTENSITY
#else // SERVER - the old sauer code
    bool val = curpeer || hasnonlocalclients();
#endif // INTENSITY end
    if(val && msg) conoutf(CON_ERROR, "You must be in private edit mode for that"); // INTENSITY: Message contents
    return val;
}
Ejemplo n.º 2
0
bool multiplayer(bool msg)
{
    bool val = curpeer || hasnonlocalclients();
    if(val && msg) conoutf(CON_ERROR, "operation not available in multiplayer");
    return val;
}