remove handle_events for unused events.

This commit is contained in:
Enno Rehling 2017-04-30 03:48:50 +02:00
parent 80e6ed0863
commit 1885831204
2 changed files with 0 additions and 6 deletions

View File

@ -244,7 +244,6 @@ struct order *ord)
warden_add_give(src, dest, itype, delta);
}
#endif
handle_event(dest->attribs, "receive", src);
}
else {
/* return horses to the region */
@ -257,7 +256,6 @@ struct order *ord)
give_money(src, itype, n);
}
}
handle_event(src->attribs, "give", dest);
}
add_give(src, dest, n, delta, item2resource(itype), ord, error);
if (error)

View File

@ -799,10 +799,6 @@ void plan_monsters(faction * f)
if (long_order == NULL) {
/* Ab hier noch nicht generalisierte Spezialbehandlungen. */
if (!u->orders) {
handle_event(u->attribs, "ai_move", u);
}
if (fval(rc, RCF_DRAGON)) {
long_order = plan_dragon(u);
}