From 793cc220ec00442af95a45e497e662326567bffe Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 6 Apr 2008 09:16:09 +0200 Subject: [PATCH] Fix add of for status arguments active, god, delete Broken in commit e1a68c72, v4.3.12. --- src/lib/commands/add.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/commands/add.c b/src/lib/commands/add.c index 819afda1..eba4d33e 100644 --- a/src/lib/commands/add.c +++ b/src/lib/commands/add.c @@ -182,8 +182,10 @@ add(void) if (stat == STAT_NEW || stat == STAT_VIS) nat_reset(natp, stat, 0, 0); - else + else { + natp->nat_stat = stat; pr("No special initializations done...\n"); + } putnat(natp); return 0; }