>So the person you're married to deletes and someone else creates a
>character with the same name...
Right now I'm using:
long partner; /* romance partner's idnum */
Anywhere I want to get the name of the
player's partner I use:
get_name_by_id(PARTNER(ch))
Everywhere that set players as partners:
PARTNER(ch) = GET_NAME(victim);
PARTNER(victim) = GET_NAME(ch);
Is Now:
PARTNER(ch) = GET_IDNUM(victim);
PARTNER(victim) = GET_IDNUM(ch);
Everyplace it checks if the players
are partners Is Now:
else if (PARTNER(ch) != GET_IDNUM(victim)) {
Instead of being set to no relationship with:
PARTNER(victim) = NULL;
PARTNER(ch) = NULL;
It is now Done with:
PARTNER(ch) = -1;
PARTNER(victim) = -1;
Angelfire for your free web-based e-mail. http://www.angelfire.com
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/03/01 PST