/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2017, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure, Markus Armbruster
*
* Empire is free software: you can redistribute it and/or modify
*
* Known contributors to this file:
* Steve McClure, 2000
- * Markus Armbruster, 2007-2008
+ * Markus Armbruster, 2007-2013
*/
#include <config.h>
#include "commodity.h"
-#include "file.h"
#include "loan.h"
#include "nat.h"
#include "news.h"
struct natstr *natp;
struct lonstr loan;
struct comstr comm;
- long lose;
- long gain;
+ int lose, gain;
char *verb;
int loan_num, comm_num;
verb = sp->sct_own ? "sacked" : "obliterated";
wu(0, coun, "* %s just %s your capital! *\n",
cname(player->cnum), verb);
- wu(0, coun, "You lost $%ld and they gained $%ld\n", lose, gain);
+ wu(0, coun, "You lost $%d and they gained $%d\n", lose, gain);
wu(0, coun, "You need to use 'capital' to activate a new capital.\n");
- wu(0, 0, "%s just %s %s's capital and gained $%ld\n",
+ wu(0, 0, "%s just %s %s's capital and gained $%d\n",
cname(player->cnum), verb, cname(coun), gain);
if (opt_LOANS && sp->sct_own) {