Remove unused "message" events (old NPC sh*t).

This commit is contained in:
Enno Rehling 2018-08-02 16:41:23 +02:00
parent 8d88579570
commit 116ff7247d

View file

@ -2058,17 +2058,6 @@ int mail_cmd(unit * u, struct order *ord)
break; break;
} }
else { else {
attrib *a = a_find(u2->attribs, &at_eventhandler);
if (a != NULL) {
event_arg args[3];
args[0].data.v = (void *)s;
args[0].type = "string";
args[1].data.v = (void *)u;
args[1].type = "unit";
args[2].type = NULL;
handle_event(a, "message", args);
}
mailunit(r, u, n, ord, s); mailunit(r, u, n, ord, s);
} }
return 0; return 0;