forked from github/server
remove handle_events for unused events.
This commit is contained in:
parent
80e6ed0863
commit
1885831204
|
@ -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)
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue