messed up

This commit is contained in:
Enno Rehling 2008-01-07 22:29:37 +00:00
parent da5aef2110
commit 5a3598c1eb
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ summon_igjarjuk(struct unit * u, const struct item_type * itype, int amount, str
}
static int
give_igjarjuk(const struct unit * src, const struct unit * d, const struct item_type * itype, int n, struct order * ord)
give_igjarjuk(struct unit * src, struct unit * d, const struct item_type * itype, int n, struct order * ord)
{
ADDMSG(&src->faction->msgs, msg_feedback(src, ord, "error_giveeye", ""));
return 0;

View file

@ -529,7 +529,7 @@ free_units(void)
void
write_unit_reference(const unit * u, FILE * F)
{
assert(u==NULL || u->number>0);
assert(u==NULL || u->number>=0);
fprintf(F, "%s ", (u!=NULL && u->no!=0)?itoa36(u->no):"0");
}