Im trying to add a new imm command force tick (ftick)
when i compile i get a ton of errors, but only this one code specific,
act_wiz.c:5002: too many arguments to function `update_handler'
i dont get any errors if i take this small snip out
this is the snip i got, i added this to act_wiz.c and changed the lower part
in update.c
act_wis.c
/*
*Immortal Force Tick command
*/
void do_ftick(CHAR_DATA *ch, char *argument)
{
update_handler ( TRUE );
send_to_char("You Have Forced Time To Fly By....TICK\r\n",ch);
return;
}
update.c
void update_handler( bool ) changed to
void update_handler( bool forced )
interp.c
I added the command under immortal commands