[CODE] Switching into a Switched Imm? Ru-roh..

From: Justin Adler (spam@WORLD-DOMINATION.COM.AU)
Date: 07/27/02


Have u ever tried switching into another immortal character, who happens
to be switched into something else?!

well, that works .... :(


why??

in act.wizard.c [line 969] ..
ACMD(DO_SWITCH) {
....

ch->desc->character = victim;
    ch->desc->original = ch;

    victim->desc = ch->desc;
    ch->desc = NULL;                 // HERE - line 969

}

if you comment that out, then u cannot switch into a switch immortal (or
pc not LD?)

but then u get the problem of DOUBLE SPAM for the original switched imm :(

Anyone know of any solutions?

I'm very hesitant to add a silly unique flag to char_data (ie. bool
switched;)

-Pure Krome-

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT