[START_UNITS] (deity_build_land): Replace variable access in disabled
code missed in the previous revision.
This commit is contained in:
parent
b1461faea5
commit
4f6e806975
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ deity_build_land(int type, coord x, coord y, natid own, int tlev)
|
||||||
land.lnd_rflags = 0;
|
land.lnd_rflags = 0;
|
||||||
memset(land.lnd_rpath, 0, sizeof(land.lnd_rpath));
|
memset(land.lnd_rpath, 0, sizeof(land.lnd_rpath));
|
||||||
land.lnd_rad_max = lp->l_rad;
|
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_att = (float)LND_ATTDEF(lp->l_att, tlev - lp->l_tech);
|
||||||
land.lnd_def = (float)LND_ATTDEF(lp->l_def, tlev - lp->l_tech);
|
land.lnd_def = (float)LND_ATTDEF(lp->l_def, tlev - lp->l_tech);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue