switchfix.txt
snippets · 871 B · 2010-03-30
Switch fix by Robert Little for ROM: mobs can see and talk when immortals SWITCH into them.
Download « Back to the snippets list
/************************************************ * * * Fixing your mobs so they can * * see and talk when SWITCHed by IMMS * * by Robert Little for ROM * * http://www.TTTGames.Divineright.org * ************************************************/ INSTRUCTIONS: STEP 1) IN COMM.C look for ----------------------------------------- if ( (!IS_NPC(to) && to->desc == NULL ) || ( IS_NPC(to) && !HAS_TRIGGER(to, TRIG_ACT) ) || to->position < min_pos ) ************ And Change It To ************ if ((!IS_NPC(to) && to->desc ==NULL) || (IS_NPC(to) && to->desc ==NULL && !HAS_TRIGGER(to, TRIG_ACT)) || to->position < min_pos) ****************************************** /********************************************* *Thats all, do a compile and reboot the mud. * *********************************************/