]> git.pond.sub.org Git - empserver/commit
(buil): Work directly on item arrays instead of copies made by
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 9 Mar 2004 14:52:21 +0000 (14:52 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 9 Mar 2004 14:52:21 +0000 (14:52 +0000)
commit4ad649950e82eaa0c9ac34b18a3c4b33db940587
tree7ad2a2a7cf2c25b824638d79c320c2e4fee345a1
parent67ad7ad66adef51005aa1ef1b777b4213a0b98a9
(buil): Work directly on item arrays instead of copies made by
getvec().  This is safe, because the old code made single copies and
always flushed them back into the unit structures before flushing
those.
(build_ship, build_land, build_bridge, build_nuke, build_plane,
build_tower): Change parameter type to match uncopied item arrays.
src/lib/commands/buil.c