Skip to content

Commit

Permalink
* Fixed broken mail body
Browse files Browse the repository at this point in the history
* Fixed SC__INVISIBILITY behavior (Akinari found this)
  • Loading branch information
cydh committed Oct 26, 2013
1 parent 8c57cf4 commit 75bc9cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/map/clif.c
Expand Up @@ -14119,7 +14119,7 @@ void clif_parse_Mail_send(int fd, struct map_session_data *sd)
}

if (body_len)
safestrncpy(msg.body, (char*)RFIFOP(fd,RFIFOW(fd,info->pos[4])), body_len + 1);
safestrncpy(msg.body, (char*)RFIFOP(fd,info->pos[4]), body_len + 1);
else
memset(msg.body, 0x00, MAIL_BODY_LENGTH);

Expand Down
1 change: 0 additions & 1 deletion src/map/status.c
Expand Up @@ -1212,7 +1212,6 @@ int status_damage(struct block_list *src,struct block_list *target,int64 dhp, in
status_change_end(target, SC_CLOAKING, INVALID_TIMER);
status_change_end(target, SC_CHASEWALK, INVALID_TIMER);
status_change_end(target, SC_CAMOUFLAGE, INVALID_TIMER);
status_change_end(target, SC__INVISIBILITY, INVALID_TIMER);
status_change_end(target, SC_DEEPSLEEP, INVALID_TIMER);
if ((sce=sc->data[SC_ENDURE]) && !sce->val4) {
//Endure count is only reduced by non-players on non-gvg maps.
Expand Down

0 comments on commit 75bc9cd

Please sign in to comment.