empdump: Don't abort() on unresolvable symbols
empdump flags them since commit 2a5d12b
(v4.3.28), but still aborts.
Avoid the abort.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
9ca3fa95b8
commit
edfb80a1f7
4 changed files with 19 additions and 12 deletions
|
@ -189,7 +189,7 @@ xdump(void)
|
|||
if (!p || !*p)
|
||||
return RET_SYN;
|
||||
|
||||
xdinit(&xd, player->cnum, 0, pr);
|
||||
xdinit(&xd, player->cnum, 0, 0, pr);
|
||||
natp = getnatp(player->cnum);
|
||||
type = isdigit(p[0]) ? atoi(p) : ef_byname(p);
|
||||
if (type < 0 || type >= EF_MAX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue