I forgot one more thing to change: Add to utils.h: #define GET_PC_NAME(ch) ((ch)->player.name) Interpreter.c: Replace every occurence of GET_NAME() in nanny() function to GET_PC_NAME() or game will crash while trying to create new character because of GET_NAME()'s checks for IS_NPC which is not initalized yet. Logically it is correct change because nanny() deals only with PCs, so we should not check every time for our char's being mobile. Finally, we got more clear and less confusing code: if character is mobile, he has pfilepos == -1. Nothing more. Andrey (andrey@alex-ua.com) aka Zmey // RMUD +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST