removing unused function

This commit is contained in:
Enno Rehling 2007-02-23 23:43:23 +00:00
parent fd06a885f0
commit dc8dda6430
1 changed files with 0 additions and 20 deletions

View File

@ -35,26 +35,6 @@
#include <stdlib.h> #include <stdlib.h>
#include <assert.h> #include <assert.h>
static int
cinfo_unit_onlyowner(const struct locale * lang, const void * obj, typ_t typ, struct curse *c, int self)
{
message * msg;
struct unit *u;
unused(typ);
assert(typ == TYP_UNIT);
u = (struct unit *)obj;
if (self != 0){
msg = msg_message(mkname("curseinfo", c->type->cname), "id", c->no);
nr_render(msg, lang, buf, sizeof(buf), NULL);
msg_release(msg);
return 1;
}
return 0;
}
/* ------------------------------------------------------------- */ /* ------------------------------------------------------------- */
/* /*
* C_AURA * C_AURA