lockable.c

lima-1.0b5/lib/domains/std/attic/lockable.c · 380 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

#include <mudlib.h>

inherit M_LOCKABLE;

void set_locked(string x)
{
    if (clonep(this_object()))
	base_name(this_object())->set_locked(x);

    ::set_locked(x);
}

string query_locked()
{
    if (clonep(this_object()))
	return base_name(this_object())->query_locked();

    return ::query_locked();
}

Site Stats

Snippets: 1791
Codebases: 571