* FIX für das neue ZEIGE

This commit is contained in:
Enno Rehling 2002-01-28 02:22:50 +00:00
parent 3ab91b969d
commit e3bbb74cb8
3 changed files with 7 additions and 4 deletions

View File

@ -2103,7 +2103,7 @@ display_item(faction *f, unit *u, const item_type * itype)
fclose(fp);
name = buf;
}
ADDMSG(&f->msgs, msg_message("displayitem", "item description", itype, name));
ADDMSG(&f->msgs, msg_message("displayitem", "item description", itype->rtype, name));
return true;
}

View File

@ -33,8 +33,11 @@ typedef struct opstack {
void *
opstack_pop(opstack ** stack)
{
opstack * os = *stack;
opstack * os;
void * data;
assert(stack);
os = *stack;
assert(os);
data = os->data;
*stack = os->next;

View File

@ -7282,9 +7282,9 @@
<text locale="en">"Life itself touches the world and all beings are healed."</text>
</message>
<message name="showitem" section="events">
<message name="displayitem" section="events">
<type>
<arg name="item" type="item"></arg>
<arg name="item" type="resource"></arg>
<arg name="description" type="string"></arg>
</type>
<text locale="de">"$resource($item,1): $description"</text>