I'm trying to add colors to my mud like the FAQ says
and i keep getting a
comm.c:2446: error:redefinition of 'send_to_char_color'
comm.c:2431: error:'send_to_char_color' previously defined here
comm.c:2552: error:redefiniton of 'send_to_pager_color'
comm.c:2530: error:'send_to_pager_color' previously defined here
all i did was add the
#define send_to_char send_to_char_color
#define send_to_pager send_to_pager_color
to the very end of the mud.h file, and i changed the text saying 'send_to_char_color' and 'send_to_pager_color' in the comm.c to 'send_to_char' and 'send_to_pager'
the FAQ said to "comment out the two functions
send_to_char() and send_to_pager()" ..i think i did that
and i keep getting a
comm.c:2446: error:redefinition of 'send_to_char_color'
comm.c:2431: error:'send_to_char_color' previously defined here
comm.c:2552: error:redefiniton of 'send_to_pager_color'
comm.c:2530: error:'send_to_pager_color' previously defined here
all i did was add the
#define send_to_char send_to_char_color
#define send_to_pager send_to_pager_color
to the very end of the mud.h file, and i changed the text saying 'send_to_char_color' and 'send_to_pager_color' in the comm.c to 'send_to_char' and 'send_to_pager'
the FAQ said to "comment out the two functions
send_to_char() and send_to_pager()" ..i think i did that