(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.
This commit is contained in:
parent
7944db242c
commit
e3459cba5d
1 changed files with 0 additions and 11 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue