Bug #522 ยป 0073-Send-goods-priority-to-the-client.patch
client/packhand.c | ||
---|---|---|
pgood->to_pct = p->to_pct;
|
||
pgood->onetime_pct = p->onetime_pct;
|
||
pgood->select_priority = p->select_priority;
|
||
pgood->priority = p->replace_priority;
|
||
pgood->flags = p->flags;
|
||
PACKET_STRVEC_EXTRACT(pgood->helptext, p->helptext);
|
common/networking/packets.def | ||
---|---|---|
UINT16 to_pct;
|
||
UINT16 onetime_pct;
|
||
UINT16 select_priority;
|
||
UINT16 replace_priority;
|
||
BV_GOODS_FLAGS flags;
|
||
STRVEC helptext;
|
||
end
|
server/ruleset/ruleload.c | ||
---|---|---|
packet.to_pct = g->to_pct;
|
||
packet.onetime_pct = g->onetime_pct;
|
||
packet.select_priority = g->select_priority;
|
||
packet.replace_priority = g->priority;
|
||
packet.flags = g->flags;
|
||
PACKET_STRVEC_INSERT(packet.helptext, g->helptext);
|