]> git.pond.sub.org Git - empserver/commit
Consistently consider a nation bankrupt when its treasury is
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Dec 2007 14:46:40 +0000 (14:46 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Dec 2007 14:46:40 +0000 (14:46 +0000)
commit09a842c1a0da225555af66fb78042e065ba551ac
tree9ad46e84b20c75724f22f17e3c4b38e362eacc25
parenta71ec1459d74f771a6a044d8f61dd3f01e3c2943
Consistently consider a nation bankrupt when its treasury is
negative.  Some places considered $0 as bankrupt, some didn't.  Fix
the ones that did:
(repo_list): report command misreported countries with $0 as broke.
(init_nats): If you had $0, logging out and back in bankrupted you.
(produce_sect, upd_ship): Failed to build sectors and produce stuff
for countries with $0.
src/lib/commands/repo.c
src/lib/player/init_nats.c
src/lib/update/sect.c
src/lib/update/ship.c