summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-15 13:57:55 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-15 13:57:55 +0000
commit5add4b6c1d8341991069928fd45605524b669903 (patch)
tree5dc307e5bdffb2ed1f0ebe8eee27a94f7ba11e8c
parentd942c883faa4e85ff2f08ed8236cb92ab3be369f (diff)
downloadhercules-5add4b6c1d8341991069928fd45605524b669903.tar.gz
hercules-5add4b6c1d8341991069928fd45605524b669903.tar.bz2
hercules-5add4b6c1d8341991069928fd45605524b669903.tar.xz
hercules-5add4b6c1d8341991069928fd45605524b669903.zip
ups, how did that get in...
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10014 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 037683391..e1c53077c 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7471,10 +7471,10 @@ int clif_wisall(struct map_session_data *sd,int type,int flag)
return 0;
}
-
-/// type=0: play the music once
-/// type=1: play the music for the specified amount of time (maybe)
-/// type=2: stop the sound?
+/*==========================================
+ * サウンドエフェクト
+ *------------------------------------------
+ */
void clif_soundeffect(struct map_session_data *sd,struct block_list *bl,const char *name,int type)
{
int fd;
@@ -7487,7 +7487,7 @@ void clif_soundeffect(struct map_session_data *sd,struct block_list *bl,const ch
WFIFOW(fd,0)=0x1d3;
memcpy(WFIFOP(fd,2),name,NAME_LENGTH);
WFIFOB(fd,26)=type;
- WFIFOL(fd,27)=0;// time
+ WFIFOL(fd,27)=0;
WFIFOL(fd,31)=bl->id;
WFIFOSET(fd,packet_len(0x1d3));
@@ -11800,7 +11800,6 @@ int clif_parse(int fd) {
// printf("clif_parse: connection #%d, packet: 0x%x (with being read: %d bytes).\n", fd, RFIFOW(fd,0), RFIFOREST(fd));
cmd = RFIFOW(fd,0);
- ShowDebug("Received packet 0x%4X\n", cmd);
// get packet version before to parse
packet_ver = 0;