summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-19 09:15:00 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-19 09:15:00 +0000
commit70dc3acce080b3c4f5061c2394911149d0d82aa4 (patch)
tree7e9bcc793338ab564ad0fe6142dfdc6d651b78e7 /src/map/clif.c
parente73a29efa9a57ee1387af8626a8c20c5a780f42a (diff)
downloadhercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.gz
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.bz2
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.tar.xz
hercules-70dc3acce080b3c4f5061c2394911149d0d82aa4.zip
- Cleanups or minor changes.
- Now addtick_timer invokes settick_timer, so keep an eye for whatever timer issues it's supposed to have. - Removed the flush_fifo from clif_parse_TickSend until the socket problems are fixed. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9521 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 96123bfaa..56ea93a6a 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8450,10 +8450,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
// If player is dead, and is spawned (such as @refresh) send death packet. [Valaris]
if(pc_isdead(sd))
clif_clearchar_area(&sd->bl,1);
-
// Uncomment if you want to make player face in the same direction he was facing right before warping. [Skotlex]
// else
// clif_changed_dir(&sd->bl, SELF);
+
// Trigger skill effects if you appear standing on them
if(!battle_config.pc_invincible_time)
skill_unit_move(&sd->bl,gettick(),1);
@@ -8472,7 +8472,8 @@ void clif_parse_TickSend(int fd, struct map_session_data *sd) {
WFIFOW(fd,0)=0x7f;
WFIFOL(fd,2)=gettick();
WFIFOSET(fd,packet_len(0x7f));
- flush_fifo(fd,0); // send immediatly so the client gets accurate "pings"
+ // removed until the socket problems are fixed. [FlavioJS]
+ //flush_fifo(fd,0); // send immediatly so the client gets accurate "pings"
return;
}