make_fun_body_pieces question

From: Baktor Silvanti (baktor@BEDFORD.NET)
Date: 02/05/98


hello,

I liked this idea of body parts so i am trying to put it in and i ran
into a problem i don't see why it's not going.

/*  and lets see how it got here in the first place neh? */
  act(parts[i].actout,FALSE,0,killer,0,ch,TO_ROOM);
  act(parts[i].actkil,FALSE,0,killer,0,ch,TO_CHAR);

the error:


        cl -c /nologo /I. /I\MSDEV\INCLUDE fight.c
fight.c
fight.c(1017) : warning C4133: 'function' : incompatible types - from
'struct char_data *' to 'struct obj_data *'
fight.c(1017) : warning C4047: 'function' : 'int ' differs in levels of
indirection from 'struct char_data *'
fight.c(1017) : warning C4024: 'act' : different types for formal and
actual parameter 6
fight.c(1017) : warning C4020: 'act' : too many actual parameters
fight.c(1018) : warning C4133: 'function' : incompatible types - from
'struct char_data *' to 'struct obj_data *'
fight.c(1018) : warning C4047: 'function' : 'int ' differs in levels of
indirection from 'struct char_data *'
fight.c(1018) : warning C4024: 'act' : different types for formal and
actual parameter 6
fight.c(1018) : warning C4020: 'act' : too many actual parameters
        set lib=\MSDEV\LIB

(it did compile down here so it's not a Terrible error, just those darn
warnings)


if somebody could point out what's wrong with it I'd appreciate it.

I'm running pure stock (this is first addition to this one) and I'm
afraid to admit its p11. (so i like it ok?)


thanks in advance,

Baktor


     +------------------------------------------------------------+
     | 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