summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuph <Euph@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-17 07:49:28 +0000
committerEuph <Euph@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-17 07:49:28 +0000
commit255c7299b075907125c2542671a7ac25c33e916b (patch)
tree11e6a1b151d8ab8b3d8796f1bfff076bce8cda7d
parentf13db5f2ef28fa672cf6e85381506fa1bc8d3842 (diff)
downloadhercules-255c7299b075907125c2542671a7ac25c33e916b.tar.gz
hercules-255c7299b075907125c2542671a7ac25c33e916b.tar.bz2
hercules-255c7299b075907125c2542671a7ac25c33e916b.tar.xz
hercules-255c7299b075907125c2542671a7ac25c33e916b.zip
atcommand_follow is now more verbose.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7711 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/atcommand.c12
2 files changed, 10 insertions, 3 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index dbe3d51f3..9fb21ca66 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/07/17
+ * atcommand_follow is now more verbose. [Adam]
* Manually added int_homun.c to the VS8 char_sql project, *should* work [DracoRPG]
* Orn's fix to the very critical skill level up bug [DracoRPG]
* Updated mob_db.sql to current mob_db.txt data. [Skotlex]
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index 5c84d0d9b..4f1fb2a68 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7075,15 +7075,21 @@ atcommand_follow(const int fd, struct map_session_data* sd,
return -1;
pc_stop_following (sd);
- clif_displaymessage(fd, "Stop following");
+ clif_displaymessage(fd, "Follow mode OFF.");
return 0;
}
if ((pl_sd = map_nick2sd((char *) message)) != NULL) {
- if (sd->followtarget == pl_sd->bl.id)
+ if (sd->followtarget == pl_sd->bl.id) {
pc_stop_following (sd);
- else
+ clif_displaymessage(fd, "Follow mode OFF.");
+ } else {
pc_follow(sd, pl_sd->bl.id);
+ clif_displaymessage(fd, "Follow mode ON.");
+ }
return 0;
+ } else {
+ clif_displaymessage(fd, "Character not found.");
+ return -1;
}
return 1;