/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2021, 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:
* Ken Stevens, 1995
* Steve McClure, 1996-2000
- * Markus Armbruster, 2004-2012
+ * Markus Armbruster, 2004-2021
*/
#include <config.h>
#include <stdlib.h>
#include "chance.h"
-#include "file.h"
#include "misc.h"
#include "nat.h"
#include "news.h"
} else {
hitchance = pln_hitchance(pp, hardtarget, type);
hit = pct_chance(hitchance);
- mpr(pp->pln_own, "\t%d%% hitchance...%s\n", hitchance,
+ mpr(pp->pln_own, "\t%d%% hit chance...%s\n", hitchance,
hit ? "HIT!" : "miss");
}
pp = &ip->plane;
if (pp->pln_own != sp->sct_own)
continue;
- if (mission_pln_equip(ip, NULL, 'i') < 0) {
+ if (mission_pln_equip(ip, NULL, 0) < 0) {
emp_remque(qp);
free(qp);
continue;
next = qp->q_forw;
ip = (struct plist *)qp;
pp = &ip->plane;
- if (mission_pln_equip(ip, NULL, 'i') < 0) {
+ if (mission_pln_equip(ip, NULL, 0) < 0) {
emp_remque(qp);
free(qp);
continue;