/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2007, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2009, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* wing.c: Add planes to a wing
- *
+ *
* Known contributors to this file:
- *
+ *
*/
#include <config.h>
}
if (c == '~')
c = 0;
- if (!snxtitem(&nstr, EF_PLANE, player->argp[2]))
+ if (!snxtitem(&nstr, EF_PLANE, player->argp[2], NULL))
return RET_SYN;
count = 0;
while (nxtitem(&nstr, &plane)) {
putplane(plane.pln_uid, &plane);
count++;
}
- pr("%d plane%s added to wing `%c'\n", count, splur(count), c);
+ pr("%d plane%s added to wing `%1.1s'\n", count, splur(count), &c);
return RET_OK;
}