summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/atcommand.c10
-rw-r--r--src/map/pc.c4
2 files changed, 13 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c
index adad4fd..03e7675 100644
--- a/src/map/atcommand.c
+++ b/src/map/atcommand.c
@@ -7178,6 +7178,7 @@ int
atcommand_follow(const int fd, struct map_session_data* sd,
const char* command, const char* message)
{
+#if 0
struct map_session_data *pl_sd = NULL;
if (!message || !*message)
@@ -7186,7 +7187,16 @@ atcommand_follow(const int fd, struct map_session_data* sd,
pc_follow(sd, pl_sd->bl.id);
else
return 1;
+#endif
+
+ /*
+ * Command disabled - it's incompatible with the TMW
+ * client.
+ */
+ clif_displaymessage(fd, "@follow command not available");
+
return 0;
+
}
diff --git a/src/map/pc.c b/src/map/pc.c
index 6d7d3f3..f023806 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4094,7 +4094,9 @@ int pc_attack_timer(int tid,unsigned int tick,int id,int data)
if(dist <= range && !battle_check_range(&sd->bl,bl,range) ) {
if(pc_can_reach(sd,bl->x,bl->y) && sd->canmove_tick < tick && (sd->sc_data[SC_ANKLE].timer == -1 || sd->sc_data[SC_SPIDERWEB].timer == -1))
- pc_walktoxy(sd,bl->x,bl->y);
+ // TMW client doesn't support this
+ //pc_walktoxy(sd,bl->x,bl->y);
+ clif_movetoattack(sd, bl);
sd->attackabletime = tick + (sd->aspd<<1);
}
else {