On Mon, 8 Dec 1997, StormeRider wrote: >At 10:59 AM 12/8/97 +0000, you wrote: >> act("You load $p into $P.", FALSE, ch, ammo, gun, TO_CHAR); >> act("$n loads $p into $P.", TRUE, ch, ammo, gun, TO_ROOM); >Um, is it just me or is act expecting what you have for the second object >to be a character? Try rewriting it without using act() (via send_to_char case 'p': CHECK_NULL(obj, OBJS(obj, to)); break; case 'P': CHECK_NULL(vict_obj, OBJS((struct obj_data *) vict_obj, to)); break; It's doing objects correctly. >sprintf(buf, "%s puts %s into %s.\r\n", GET_NAME(ch), ammo->short_description, > gun->short_description); This is bad, it won't do invisibility correctly. -- George Greer - Me@Null.net | Genius may have its limitations, but stupidity http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard +------------------------------------------------------------+ | 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/08/00 PST