diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-08 18:45:51 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-08 18:45:51 +0000 |
commit | 7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2 (patch) | |
tree | 2b7f00c9f373b187f821c63127187120770f66f1 /src/map/clif.c | |
parent | 9e9b198e6d0b810fa52f888b32653b5370fe65b3 (diff) | |
download | hercules-7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2.tar.gz hercules-7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2.tar.bz2 hercules-7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2.tar.xz hercules-7a308b07b92f9aa82b0e3d8dc987d69f3535b7e2.zip |
- Cleaned up SG_HATE to use a new function, pc_set_hate_mob to handle setting.
- Updated pc_authok to initialize all mob_hate vars to -1
- Updated clif_hate_mob to receive the hate-type instead of skill-lv.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8680 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 3b2395812..a8970a8b1 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -8034,7 +8034,7 @@ void clif_feel_info(struct map_session_data *sd, int feel_level) * Info about Star Glaldiator hate mob [Komurka]
*------------------------------------------
*/
-void clif_hate_mob(struct map_session_data *sd, int skilllv,int mob_id)
+void clif_hate_mob(struct map_session_data *sd, int type,int mob_id)
{
int fd=sd->fd;
WFIFOHEAD(fd,packet_len_table[0x20e]);
@@ -8046,7 +8046,7 @@ void clif_hate_mob(struct map_session_data *sd, int skilllv,int mob_id) else //Really shouldn't happen...
malloc_tsetdword(WFIFOP(fd,2), 0, NAME_LENGTH);
WFIFOL(fd,26)=sd->bl.id;
- WFIFOW(fd,30)=0xa00+skilllv-1;
+ WFIFOW(fd,30)=0xa00+type;
WFIFOSET(fd, packet_len_table[0x20e]);
}
|