]> git.pond.sub.org Git - empserver/commit
Make land units on reserve mission react within op-area
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 22 Nov 2008 19:40:37 +0000 (14:40 -0500)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 17 Dec 2008 17:30:43 +0000 (12:30 -0500)
commit8e527b6cff28d96949dfdb72e262cff380ef2e84
treeda19baeddcc6e0472073231cfec5a9525f600181
parent40d83577466ff6784394e1d10b166786e5a27e70
Make land units on reserve mission react within op-area

Before, they always reacted to their maximum range, and the op-area
was unused.  Change mission() to define the op-area for reserve
missions as well.  Remove the special-case for showing reserve
missions from mission() and show_mission().  New lnd_reaction_range()
factored out of att_reacting_units().  Use it in oprange() to cover
reserve missions.  Pass the mission as separate parameter to oprange()
for now, because miss() doesn't set it in the object until later.
include/land.h
include/prototypes.h
info/mission.t
src/lib/commands/miss.c
src/lib/subs/attsub.c
src/lib/subs/lndsub.c
src/lib/subs/mission.c