From e3459cba5d113e2098eb965d82eea4d7edcc7f9e Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Sun, 18 Dec 2005 19:54:44 +0000 Subject: [PATCH] (caploss): Remove the moving of a sacked capital. This corrects the incorrect display of the old capital in the nation output. (caploss): Remove unnecessary include files. --- src/lib/subs/caploss.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib/subs/caploss.c b/src/lib/subs/caploss.c index 779ea733..4767d0ad 100644 --- a/src/lib/subs/caploss.c +++ b/src/lib/subs/caploss.c @@ -35,13 +35,8 @@ #include "misc.h" #include "player.h" #include "nat.h" -#include "sect.h" #include "file.h" -#include "xy.h" #include "news.h" -#include "path.h" -#include "loan.h" -#include "commodity.h" #include "prototypes.h" #include "optlist.h" @@ -53,8 +48,6 @@ caploss(struct sctstr *sp, natid coun, s_char *msg) struct comstr comm; long lose; long gain; - struct sctstr sect; - int n; int loan_num = 0; int comm_num = 0; @@ -75,10 +68,6 @@ caploss(struct sctstr *sp, natid coun, s_char *msg) gain = lose = natp->nat_money / 2; if (lose < 3000) lose = 3000; - n = roll(6); - getsect(sp->sct_x + diroff[n][0], sp->sct_y + diroff[n][1], §); - natp->nat_xcap = sect.sct_x; - natp->nat_ycap = sect.sct_y; natp->nat_money -= lose; /* Your capital has now been sacked, no more sacking until you reset it */ natp->nat_flags |= NF_SACKED;