]> git.pond.sub.org Git - empserver/commit
Capital obliteration failed to charge money and report news
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Nov 2008 21:43:13 +0000 (16:43 -0500)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 15 Nov 2008 22:40:48 +0000 (17:40 -0500)
commitfe695140678bf252b37ca5b3458e32cab601f3d5
treecbc30d56bcb3b673c55c957316efa22d35cb2709
parent2ce0a58a0d20580a226fc5aee3dbe83cff11e98a
Capital obliteration failed to charge money and report news

Commit 221e88f1 (v4.3.15) made caploss() expect the new owner in
sct_own, so it can distinguish between sack and obliteration.  Commit
0d139ee1 (v4.3.17) broke that in sct_prewrite(): it moved zapping the
sector owner after caploss(), and passed 0 instead of the old owner to
caploss().  Because of that, obliterating a capital didn't make the
news and didn't cost the victim money.  Fix that.
src/lib/subs/sect.c