From 59b77fd300765595d6fbf5333cc541f40c2f0cae Mon Sep 17 00:00:00 2001 From: Lupus Date: Thu, 25 May 2006 16:26:17 +0000 Subject: added noVending mapflag. Tested. + custom Market Place NPC, fixed MSG strings git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6755 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/atcommand.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/map/atcommand.c') diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 0fd9a0d7f..c5a9baf50 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -5759,18 +5759,20 @@ int atcommand_mapinfo( strcat(atcmd_output, "NoBranch | "); if (map[m_id].flag.notrade) strcat(atcmd_output, "NoTrade | "); + if (map[m_id].flag.novending) + strcat(atcmd_output, "NoVending | "); if (map[m_id].flag.nodrop) strcat(atcmd_output, "NoDrop | "); if (map[m_id].flag.noskill) strcat(atcmd_output, "NoSkill | "); if (map[m_id].flag.noicewall) strcat(atcmd_output, "NoIcewall | "); - if (map[m_id].flag.nocommand) - strcat(atcmd_output, "NoCommand | "); clif_displaymessage(fd, atcmd_output); strcpy(atcmd_output,"Other Flags: "); + if (map[m_id].flag.nocommand) + strcat(atcmd_output, "NoCommand | "); if (map[m_id].flag.nobaseexp) strcat(atcmd_output, "NoBaseEXP | "); if (map[m_id].flag.nojobexp) @@ -10285,14 +10287,14 @@ int atcommand_request( const char* command, const char* message) { if (!message || !*message) { - clif_displaymessage(sd->fd,msg_txt(275)); + clif_displaymessage(sd->fd,msg_txt(277)); return -1; } - sprintf(atcmd_output, msg_txt(276), message); + sprintf(atcmd_output, msg_txt(278), message); intif_wis_message_to_gm(sd->status.name, lowest_gm_level, atcmd_output); clif_disp_onlyself(sd, atcmd_output, strlen(atcmd_output)); - clif_displaymessage(sd->fd,msg_txt(277)); + clif_displaymessage(sd->fd,msg_txt(279)); return 0; } -- cgit v1.2.3-60-g2f50