From 116ff7247dcde0be4334748f47b555f7c11022df Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 2 Aug 2018 16:41:23 +0200 Subject: [PATCH] Remove unused "message" events (old NPC sh*t). --- src/laws.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/laws.c b/src/laws.c index 35e4732f1..8d75b0897 100644 --- a/src/laws.c +++ b/src/laws.c @@ -2058,17 +2058,6 @@ int mail_cmd(unit * u, struct order *ord) break; } 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); } return 0;