summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 13:54:31 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-05-25 13:54:31 +0000
commit605362346753c34a849c4f287234a3498696e93e (patch)
tree1a4330498d52b2569ac704db5f27925067d3d53e /src/map/clif.c
parent2ba090bd962aed05b059fb64df900fe6004de340 (diff)
downloadhercules-605362346753c34a849c4f287234a3498696e93e.tar.gz
hercules-605362346753c34a849c4f287234a3498696e93e.tar.bz2
hercules-605362346753c34a849c4f287234a3498696e93e.tar.xz
hercules-605362346753c34a849c4f287234a3498696e93e.zip
- Increased capacity for Account Variables to 64
- Reverted Intravision implementation to that of stable's. - Corrected Login Server taking it's first argument as both login config and lan config. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6751 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 61846b85d..c67321d3c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -322,6 +322,8 @@ int clif_send_sub(struct block_list *bl, va_list ap)
//Check if hidden, better to modify the char's buffer than the
//given buffer to prevent intravision affecting the packet as
//it's being received by everyone. [Skotlex]
+ /* New implemenation... not quite correct yet as the client no longer
+ * displays correctly the SI_INTRAVISION effect.
if ((sd->special_state.intravision || sd->sc.data[SC_INTRAVISION].timer != -1 )
&& bl != src_bl && WFIFOW(sd->fd,0) == 0x0196)
{ //New intravision method, just modify the status change/start packet. [Skotlex]
@@ -332,8 +334,9 @@ int clif_send_sub(struct block_list *bl, va_list ap)
WFIFOW(sd->fd,2) = SI_INTRAVISION;
}
}
+ */
- /* Previous implementation.
+ // Previous implementation.
if ((sd->special_state.intravision || sd->sc.data[SC_INTRAVISION].timer != -1 ) && bl != src_bl) {
struct status_change *sc = status_get_sc(src_bl);
@@ -357,7 +360,6 @@ int clif_send_sub(struct block_list *bl, va_list ap)
}
}
}
- */
WFIFOSET(sd->fd,len);
}
}