summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-24 18:43:19 +0000
committerxazax-hun <xazax-hun@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-07-24 18:43:19 +0000
commite5afdf66b950242e33f9c163f0f70a8efa91ed08 (patch)
treedf08f4bd64cc7a3bc20499c54eb9093adc37df6b /src/map/clif.c
parent99451e33d3d7e6905b18fc9eddd96c16779728fd (diff)
downloadhercules-e5afdf66b950242e33f9c163f0f70a8efa91ed08.tar.gz
hercules-e5afdf66b950242e33f9c163f0f70a8efa91ed08.tar.bz2
hercules-e5afdf66b950242e33f9c163f0f70a8efa91ed08.tar.xz
hercules-e5afdf66b950242e33f9c163f0f70a8efa91ed08.zip
Moved a few messages from source to msg_athena.conf.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16495 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d9b95264d..b3bbb5a69 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -6649,7 +6649,7 @@ void clif_sendegg(struct map_session_data *sd)
fd=sd->fd;
if (battle_config.pet_no_gvg && map_flag_gvg(sd->bl.m))
{ //Disable pet hatching in GvG grounds during Guild Wars [Skotlex]
- clif_displaymessage(fd, "Pets are not allowed in Guild Wars.");
+ clif_displaymessage(fd, msg_txt(666));
return;
}
WFIFOHEAD(fd, MAX_INVENTORY * 2 + 4);
@@ -9161,7 +9161,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
{
if( battle_config.pet_no_gvg && map_flag_gvg(sd->bl.m) )
{ //Return the pet to egg. [Skotlex]
- clif_displaymessage(sd->fd, "Pets are not allowed in Guild Wars.");
+ clif_displaymessage(sd->fd, msg_txt(666));
pet_menu(sd, 3); //Option 3 is return to egg.
}
else
@@ -11818,9 +11818,7 @@ void clif_parse_OpenVending(int fd, struct map_session_data* sd)
}
if( vending_checknearnpc(&sd->bl) ) {
- char output[150];
- sprintf(output,"You're too close to a NPC, you must be at least %d cells away from any NPC.",battle_config.min_npc_vending_distance);
- clif_displaymessage(sd->fd, output);
+ clif_displaymessage(sd->fd, msg_txt(662));
clif_skill_fail(sd, MC_VENDING, USESKILL_FAIL_LEVEL, 0);
return;
}