[Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
[guest - Fri Dec 13 17:59:34 2002]:
> This patch cleans up the procedure handle_upgrade_unittype_request. Of
> course the behaviour is not changed. The improvements are:
I like your code better than the old code. But two things:
Trivial style issue: unit_list_iterate_end should be on the same line
with }.
One other issue: from_unittype and to_unittype should be Unit_Type_id's.
can_upgrade_unittype is also a huge misnomer. Do you want to provide a
(separate) patch to rename it?
jason
[Freeciv-Dev] (PR#2566) PATCH: clean up handle_upgrade_unittype_request, Guest via RT, 2002/12/19
|
|