]> git.pond.sub.org Git - empserver/commit
(total_work): Remove redundant conversion to int.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Feb 2005 19:36:41 +0000 (19:36 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 20 Feb 2005 19:36:41 +0000 (19:36 +0000)
commit5ba8cab9b5f1e23290f26a4e50aa4e46fc780b3d
tree83b5bbf6167f61e03186e5c189d5e2183b3f58a5
parent43d07b458d6d832d3c7e2c42692797442d1b8eef
(total_work): Remove redundant conversion to int.
(total_work): New parameter maxpop.  Callers changed.
(newe, prod): Use total_work().  Old code failed to limit military
workers, thus didn't match the update.
(do_feed): Simplify.
include/prototypes.h
src/lib/commands/newe.c
src/lib/commands/prod.c
src/lib/update/human.c
src/lib/update/populace.c
src/lib/update/ship.c