Originally posted by [b][Myst][/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=2995
GM can send email with item or zeny when he have this level between battle_config.gm_cant_drop_min_lv and battle_config.gm_cant_drop_max_lv.
Fix :
CODE
Index: mail.c
===================================================================
--- mail.c (révision 13679)
+++ mail.c (copie de travail)
@@ -110,6 +110,11 @@
nullpo_retr(false,sd);
nullpo_retr(false,msg);
+ if( battle_config.gm_cant_drop_min_lv < pc_isGM(sd) && battle_config.gm_cant_drop_max_lv > pc_isGM(sd) )
+ return false;
+
if( sd->mail.zeny < 0 || sd->mail.zeny > sd->status.zeny )
return false;
This post has been edited by [Myst]: Apr 20 2009, 11:29 AM