forked from github/server
commit
5befbad7c7
|
@ -1,10 +1,6 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
||||||
<resource name="money">
|
|
||||||
<item weight="1"/>
|
|
||||||
</resource>
|
|
||||||
|
|
||||||
<resource name="ao_healing" appearance="amulet">
|
<resource name="ao_healing" appearance="amulet">
|
||||||
<item weight="0" score="6000"/>
|
<item weight="0" score="6000"/>
|
||||||
</resource>
|
</resource>
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||||
|
<items>
|
||||||
|
</items>
|
|
@ -544,7 +544,8 @@ char *write_order(const order * ord, char *buffer, size_t size)
|
||||||
keyword_t kwd = ORD_KEYWORD(ord);
|
keyword_t kwd = ORD_KEYWORD(ord);
|
||||||
if (kwd == NOKEYWORD) {
|
if (kwd == NOKEYWORD) {
|
||||||
const char *text = ORD_STRING(ord);
|
const char *text = ORD_STRING(ord);
|
||||||
strlcpy(buffer, (const char *)text, size);
|
if (text) strlcpy(buffer, (const char *)text, size);
|
||||||
|
else buffer[0] = 0;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
get_command(ord, buffer, size);
|
get_command(ord, buffer, size);
|
||||||
|
|
Loading…
Reference in New Issue