forked from github/server
commit
5befbad7c7
|
@ -1,10 +1,6 @@
|
|||
<?xml version="1.0"?>
|
||||
<resources>
|
||||
|
||||
<resource name="money">
|
||||
<item weight="1"/>
|
||||
</resource>
|
||||
|
||||
<resource name="ao_healing" appearance="amulet">
|
||||
<item weight="0" score="6000"/>
|
||||
</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);
|
||||
if (kwd == NOKEYWORD) {
|
||||
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 {
|
||||
get_command(ord, buffer, size);
|
||||
|
|
Loading…
Reference in New Issue