> fight.c: In function `damage':
> fight.c:764: too many arguments to function `die'
>
> Here is the snippet of code that it says as the error:
>
> }
> /* Cant determine GET_GOLD on corpse, so do now and store */
> sprintf(local_buf,"%ld", (long)local_gold);
> }
>
> die(victim,ch);
>
Well the code is mine. However the line:
die(victim, ch);
is not part of the patch. That line is already there in the stock code.
That is also its correct syntax.
Here is its definition:
void die(struct char_data * ch, struct char_data *killer) {
It takes two arguments. Id suggest looking for all instances for die() in
fight.c and seeing of you havent added some extra character, variable,
punctuation, or whatever to a call to die.
*******************************************************************
* Ron Hensley ron@dmv.com *
* Systems Administrator http://www.dmv.com/~ron *
* PGP Key at WWW Page *
* DelMarVa OnLine 749-7898 Ext. 403 *
*******************************************************************
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://cspo.queensu.ca/~fletcher/Circle/list_faq.html |
+-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST