I'm using a standard ol' argument in a function, like so...
void do_bla( CHAR_DATA *ch, char *argument )
Then, in the function, the value of argument isn't changed or messed with or
anything, and I have an ifcheck for the argument, like so...
if ( argument == "whatever" )
Then, I try the mud with my argument being whatever, and... the ifcheck
isn't triggered.
Then, I GDB the mud to see how things are working, and make sure argument is
"whatever"... it is, yet the ifcheck isn't triggered. Anyone know what
could be wrong? I've tried it with
char arg[MAX_INPUT_LENGTH];
and
one_argument( argument, arg );
and all that, so I know that isn't it... right now I'm stumped. As the
subject implies. Any help?