/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2011, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2020, 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:
* Dave Pare, 1989
- * Markus Armbruster, 2006-2011
+ * Markus Armbruster, 2006-2020
*/
#include <config.h>
-#include "file.h"
#include "misc.h"
#include "nat.h"
#include "nsc.h"
if (!player->condarg)
return 1;
- n = nstr_comp(np->cond, sizeof(np->cond) / sizeof(*np->cond),
+ n = nstr_comp(np->cond, ARRAY_SIZE(np->cond),
EF_SECTOR, player->condarg);
if (n < 0)
return 0;