From 4f6e80697555341a149a44e6b5476e9585db6c60 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 5 Mar 2004 11:55:13 +0000 Subject: [PATCH] [START_UNITS] (deity_build_land): Replace variable access in disabled code missed in the previous revision. --- src/lib/commands/new.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/new.c b/src/lib/commands/new.c index a509d153..3db60ece 100644 --- a/src/lib/commands/new.c +++ b/src/lib/commands/new.c @@ -345,7 +345,7 @@ deity_build_land(int type, coord x, coord y, natid own, int tlev) land.lnd_rflags = 0; memset(land.lnd_rpath, 0, sizeof(land.lnd_rpath)); land.lnd_rad_max = lp->l_rad; - land.lnd_nv = 0; + memset(land.lnd_item, 0, sizeof(land.lnd_item)); land.lnd_att = (float)LND_ATTDEF(lp->l_att, tlev - lp->l_tech); land.lnd_def = (float)LND_ATTDEF(lp->l_def, tlev - lp->l_tech);