diff options
author | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-29 04:41:25 +0000 |
---|---|---|
committer | glighta <glighta@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-29 04:41:25 +0000 |
commit | 214e880edae3167e8a167776fe06a40bb7daba0d (patch) | |
tree | cab569e78114e01f71e7d433482038542821e5c3 /src/map/clif.c | |
parent | c4697fab33970de8dc7a511995a63aee0d55a4b9 (diff) | |
download | hercules-214e880edae3167e8a167776fe06a40bb7daba0d.tar.gz hercules-214e880edae3167e8a167776fe06a40bb7daba0d.tar.bz2 hercules-214e880edae3167e8a167776fe06a40bb7daba0d.tar.xz hercules-214e880edae3167e8a167776fe06a40bb7daba0d.zip |
Old Eleanor work :
-Implement MH_TINDER_BREAKER, STYLE_CHANGE
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17059 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 4b2eb4c75..667093218 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6916,7 +6916,7 @@ void clif_spiritball(struct block_list *bl) { WBUFW(buf, 6) = 0; //init to 0 switch(bl->type){ case BL_PC: WBUFW(buf, 6) = sd->spiritball; break; - case BL_HOM: WBUFW(buf, 6) = hd->spiritball; break; + case BL_HOM: WBUFW(buf, 6) = hd->homunculus.spiritball; break; } clif_send(buf, packet_len(0x1d0), bl, AREA); } @@ -13968,7 +13968,7 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd) safestrncpy(msg.send_name, sd->status.name, NAME_LENGTH); safestrncpy(msg.dest_name, (char*)RFIFOP(fd,4), NAME_LENGTH); safestrncpy(msg.title, (char*)RFIFOP(fd,28), MAIL_TITLE_LENGTH); - + if (msg.title[0] == '\0') { return; // Message has no length and somehow client verification was skipped. } |