/*
* Empire - A multi-player, client/server Internet based war game.
- * Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ * Copyright (C) 1986-2010, Dave Pare, Jeff Bailey, Thomas Ruschak,
* Ken Stevens, Steve McClure
*
* This program is free software; you can redistribute it and/or modify
* ---
*
* xdump.c: Extended dump
- *
+ *
* Known contributors to this file:
* Markus Armbruster, 2004-2008
*/
if (!ca)
return RET_SYN;
- if (!snxtitem(&ni, type, arg))
+ if (!snxtitem(&ni, type, arg, NULL))
return RET_SYN;
xdhdr(xd, ef_nameof(type), 0);
if (!p || !*p)
return RET_SYN;
- xdinit(&xd, player->cnum, pr);
+ xdinit(&xd, player->cnum, 0, pr);
natp = getnatp(player->cnum);
type = isdigit(p[0]) ? atoi(p) : ef_byname(p);
if (type < 0 || type >= EF_MAX)