From: Rick L Bird Date: Thu, 5 May 2011 21:58:51 +0000 (-0400) Subject: Forgot to add cause argument to do_page_port X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=b36bc8ab01465a6898dca2a8d561eba5a55855b1;p=cobramush.git Forgot to add cause argument to do_page_port --- diff --git a/hdrs/game.h b/hdrs/game.h index 5146664..31cb229 100644 --- a/hdrs/game.h +++ b/hdrs/game.h @@ -134,7 +134,7 @@ extern void do_wall(dbref player, const char *message, enum wall_type target, extern void do_page(dbref player, const char *arg1, const char *arg2, dbref cause, int noeval, int multipage, int override, int has_eq); -extern void do_page_port(dbref player, const char *arg1, const char *arg2, bool noeval_msg); +extern void do_page_port(dbref player, dbref cause, const char *arg1, const char *arg2, bool noeval_msg); extern void do_think(dbref player, const char *message); #define PEMIT_SILENT 0x1 #define PEMIT_LIST 0x2 diff --git a/src/bsd.c b/src/bsd.c index 8dfe3dd..09bb78a 100644 --- a/src/bsd.c +++ b/src/bsd.c @@ -2970,7 +2970,7 @@ player_desc(dbref player) * \param message message to send. */ void -do_page_port(dbref player, const char *pc, const char *message, bool eval_msg) +do_page_port(dbref player, dbref cause, const char *pc, const char *message, bool eval_msg) { int p, key; DESC *d;