On Sun, 16 Aug 1998, Phillip A. Ames wrote:
->Line:
->struct obj_data * me, * vehicle;
'me' is an argument to the special procedure, there's no need to
declare it yourself.
->Line:
->vehicle = find_vehicle_by_vnum(GET_OBJ_VAL(comm_badge, 0) );
What's the type of 'comm_badge'? It should be a "struct obj_data *".
And if it's the item upon which the spec-proc is, it should be defined
as,
struct obj_data * comm_badge = (struct obj_data *) me;
->c:\Circle\src\vehicles.c(385) : error C2198: 'find_vehicle_by_vnum' : too
->few actual parameters
This should be fairly obvious.
-dak
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST