On Fri, 5 Apr 2002, Edward J Glamkowski wrote: >The last line in the guild_info array reads { -1, -1, -1 } >but shouldn't it read { -1, NOWHERE, -1 }? That's the sort of sneaky use of room numbers I'm trying to get rid of. Solution: diff -u -p -r1.49 structs.h --- structs.h 2002/03/20 22:34:28 1.49 +++ structs.h 2002/04/09 14:22:22 @@ -1095,3 +1095,9 @@ struct index_data { int number; /* number of existing units of this mob/obj */ SPECIAL(*func); }; + +struct guild_info_type { + int pc_class; + room_vnum guild_room; + int direction; +}; And corresponding class.c/spec_procs.c changes. >That's gonna bite George (or Jeremy or whoever is doing >CIRCLE_UNSIGNED_INDEX conversion) on the ass when it does get changed >over to unsigned :) That would be me. I'm the '-- gg -' marks in ChangeLog. :) >Probably a few other places that make assumptions like that, but I've >only found that one so far cause I'm still working on adding new classes >to my mud :p Let's hope all the major ones are gone. -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | 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