No need to assign uid after ef_blank()
The redundant assignments should have been removed in commit 2da8d0c7
.
This commit is contained in:
parent
ae8e347ed6
commit
44295e43af
3 changed files with 0 additions and 3 deletions
|
@ -229,7 +229,6 @@ do_loan(void)
|
||||||
loan.l_amtdue = amt;
|
loan.l_amtdue = amt;
|
||||||
(void)time(&loan.l_lastpay);
|
(void)time(&loan.l_lastpay);
|
||||||
loan.l_duedate = loan.l_ldur * SECS_PER_DAY + loan.l_lastpay;
|
loan.l_duedate = loan.l_ldur * SECS_PER_DAY + loan.l_lastpay;
|
||||||
loan.l_uid = nstr.cur;
|
|
||||||
if (!putloan(nstr.cur, &loan)) {
|
if (!putloan(nstr.cur, &loan)) {
|
||||||
pr("Couldn't save loan; get help!\n");
|
pr("Couldn't save loan; get help!\n");
|
||||||
return RET_SYS;
|
return RET_SYS;
|
||||||
|
|
|
@ -155,7 +155,6 @@ sell(void)
|
||||||
comm.com_y = 0;
|
comm.com_y = 0;
|
||||||
comm.sell_x = sect.sct_x;
|
comm.sell_x = sect.sct_x;
|
||||||
comm.sell_y = sect.sct_y;
|
comm.sell_y = sect.sct_y;
|
||||||
comm.com_uid = ii;
|
|
||||||
if (!putcomm(ii, &comm)) {
|
if (!putcomm(ii, &comm)) {
|
||||||
pr("Problems with the commodities file, call the Deity\n");
|
pr("Problems with the commodities file, call the Deity\n");
|
||||||
return RET_FAIL;
|
return RET_FAIL;
|
||||||
|
|
|
@ -128,7 +128,6 @@ set(void)
|
||||||
trade.trd_y = item.gen.y;
|
trade.trd_y = item.gen.y;
|
||||||
trade.trd_type = type;
|
trade.trd_type = type;
|
||||||
trade.trd_owner = player->cnum;
|
trade.trd_owner = player->cnum;
|
||||||
trade.trd_uid = id;
|
|
||||||
trade.trd_unitid = ni.cur;
|
trade.trd_unitid = ni.cur;
|
||||||
trade.trd_price = price;
|
trade.trd_price = price;
|
||||||
(void)time(&now);
|
(void)time(&now);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue