[Freeciv-Dev] [Patch] for to players_iterate
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
The attached patch replaces loops like
for(i=0; i<game.nplayers; i++)
with players_iterate. 90% are straightforward. Can somebody look at
the change of ai_manage_diplomat? Especially what
if (!ctarget && aplayer) {
should mean? The loop in handle_unit_enter_city and one in
server/meta.c were been eliminated completely. update_diplomatics also
got some more serve changes. And also srv_main was changed in a
non-trivial way.
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"USENET is *not* the non-clickable part of WWW!"
players_iterate1.diff.gz
Description: GNU Zip compressed data
|
|